Class UpdateTopicRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
com.google.pubsub.v1.UpdateTopicRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateTopicRequestOrBuilder, Cloneable
Enclosing class:
UpdateTopicRequest

public static final class UpdateTopicRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder> implements UpdateTopicRequestOrBuilder
 Request for the UpdateTopic method.
 
Protobuf type google.pubsub.v1.UpdateTopicRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • getDefaultInstanceForType

      public UpdateTopicRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdateTopicRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateTopicRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • setField

      public UpdateTopicRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • clearField

      public UpdateTopicRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • clearOneof

      public UpdateTopicRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • setRepeatedField

      public UpdateTopicRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • addRepeatedField

      public UpdateTopicRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • mergeFrom

      public UpdateTopicRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateTopicRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • mergeFrom

      public UpdateTopicRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateTopicRequest.Builder>
      Throws:
      IOException
    • hasTopic

      public boolean hasTopic()
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTopic in interface UpdateTopicRequestOrBuilder
      Returns:
      Whether the topic field is set.
    • getTopic

      public Topic getTopic()
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTopic in interface UpdateTopicRequestOrBuilder
      Returns:
      The topic.
    • setTopic

      public UpdateTopicRequest.Builder setTopic(Topic value)
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
    • setTopic

      public UpdateTopicRequest.Builder setTopic(Topic.Builder builderForValue)
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeTopic

      public UpdateTopicRequest.Builder mergeTopic(Topic value)
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearTopic

      public UpdateTopicRequest.Builder clearTopic()
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTopicBuilder

      public Topic.Builder getTopicBuilder()
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTopicOrBuilder

      public TopicOrBuilder getTopicOrBuilder()
       Required. The updated topic object.
       
      .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTopicOrBuilder in interface UpdateTopicRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateTopicRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateTopicRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateTopicRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateTopicRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateTopicRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateTopicRequest.Builder clearUpdateMask()
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. Indicates which fields in the provided topic to update. Must be
       specified and non-empty. Note that if `update_mask` contains
       "message_storage_policy" but the `message_storage_policy` is not set in
       the `topic` provided above, then the updated value is determined by the
       policy configured at the project or organization level.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateTopicRequestOrBuilder
    • setUnknownFields

      public final UpdateTopicRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>
    • mergeUnknownFields

      public final UpdateTopicRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateTopicRequest.Builder>