Tabnine Logo
PublishRequest.getDefaultInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
getDefaultInstance
method
in
com.google.pubsub.v1.PublishRequest

Best Java code snippets using com.google.pubsub.v1.PublishRequest.getDefaultInstance (Showing top 14 results out of 315)

origin: googleapis/google-cloud-java

@java.lang.Override
public com.google.pubsub.v1.PublishRequest getDefaultInstanceForType() {
 return com.google.pubsub.v1.PublishRequest.getDefaultInstance();
}
origin: googleapis/google-cloud-java

/**
 *
 *
 * <pre>
 * The messages in the request will be published on this topic.
 * Format is `projects/{project}/topics/{topic}`.
 * </pre>
 *
 * <code>string topic = 1;</code>
 */
public Builder clearTopic() {
 topic_ = getDefaultInstance().getTopic();
 onChanged();
 return this;
}
/**
origin: googleapis/google-cloud-java

public Builder mergeFrom(com.google.pubsub.v1.PublishRequest other) {
 if (other == com.google.pubsub.v1.PublishRequest.getDefaultInstance()) return this;
 if (!other.getTopic().isEmpty()) {
  topic_ = other.topic_;
origin: googleapis/google-cloud-java

.setRequestMarshaller(
  io.grpc.protobuf.ProtoUtils.marshaller(
    com.google.pubsub.v1.PublishRequest.getDefaultInstance()))
.setResponseMarshaller(
  io.grpc.protobuf.ProtoUtils.marshaller(
origin: com.google.api.grpc/proto-google-cloud-pubsub-v1

@java.lang.Override
public com.google.pubsub.v1.PublishRequest getDefaultInstanceForType() {
 return com.google.pubsub.v1.PublishRequest.getDefaultInstance();
}
origin: com.google.api.grpc/grpc-google-pubsub-v1

public com.google.pubsub.v1.PublishRequest getDefaultInstanceForType() {
 return com.google.pubsub.v1.PublishRequest.getDefaultInstance();
}
origin: com.google.api.grpc/grpc-pubsub-v1

public com.google.pubsub.v1.PublishRequest getDefaultInstanceForType() {
 return com.google.pubsub.v1.PublishRequest.getDefaultInstance();
}
origin: com.google.api.grpc/grpc-google-pubsub-v1

/**
 * <pre>
 * The messages in the request will be published on this topic.
 * </pre>
 *
 * <code>optional string topic = 1;</code>
 */
public Builder clearTopic() {
 
 topic_ = getDefaultInstance().getTopic();
 onChanged();
 return this;
}
/**
origin: com.google.api.grpc/grpc-pubsub-v1

/**
 * <code>optional string topic = 1;</code>
 *
 * <pre>
 * The messages in the request will be published on this topic.
 * </pre>
 */
public Builder clearTopic() {
 
 topic_ = getDefaultInstance().getTopic();
 onChanged();
 return this;
}
/**
origin: com.google.api.grpc/proto-google-cloud-pubsub-v1

/**
 *
 *
 * <pre>
 * The messages in the request will be published on this topic.
 * Format is `projects/{project}/topics/{topic}`.
 * </pre>
 *
 * <code>string topic = 1;</code>
 */
public Builder clearTopic() {
 topic_ = getDefaultInstance().getTopic();
 onChanged();
 return this;
}
/**
origin: com.google.api.grpc/grpc-google-pubsub-v1

public Builder mergeFrom(com.google.pubsub.v1.PublishRequest other) {
 if (other == com.google.pubsub.v1.PublishRequest.getDefaultInstance()) return this;
 if (!other.getTopic().isEmpty()) {
  topic_ = other.topic_;
origin: com.google.api.grpc/grpc-pubsub-v1

public Builder mergeFrom(com.google.pubsub.v1.PublishRequest other) {
 if (other == com.google.pubsub.v1.PublishRequest.getDefaultInstance()) return this;
 if (!other.getTopic().isEmpty()) {
  topic_ = other.topic_;
origin: com.google.api.grpc/proto-google-cloud-pubsub-v1

public Builder mergeFrom(com.google.pubsub.v1.PublishRequest other) {
 if (other == com.google.pubsub.v1.PublishRequest.getDefaultInstance()) return this;
 if (!other.getTopic().isEmpty()) {
  topic_ = other.topic_;
origin: com.google.api.grpc/grpc-google-cloud-pubsub-v1

.setRequestMarshaller(
  io.grpc.protobuf.ProtoUtils.marshaller(
    com.google.pubsub.v1.PublishRequest.getDefaultInstance()))
.setResponseMarshaller(
  io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1PublishRequestgetDefaultInstance

Popular methods of PublishRequest

  • newBuilder
  • getTopic
    The messages in the request will be published on this topic. optional string topic = 1;
  • getMessagesCount
    The messages to publish. repeated .google.pubsub.v1.PubsubMessage messages = 2;
  • <init>
  • getMessagesList
    The messages to publish. repeated .google.pubsub.v1.PubsubMessage messages = 2;
  • getTopicBytes
    The messages in the request will be published on this topic. optional string topic = 1;
  • isInitialized
  • makeExtensionsImmutable
  • toBuilder
  • getDescriptor
  • getDescriptorForType
  • getSerializedSize
  • getDescriptorForType,
  • getSerializedSize,
  • parseUnknownFieldProto3

Popular in Java

  • Creating JSON documents from java classes using gson
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now