Class UpdateMessageBusRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateMessageBusRequest.Builder>
com.google.cloud.eventarc.v1.UpdateMessageBusRequest.Builder
All Implemented Interfaces:
UpdateMessageBusRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateMessageBusRequest

public static final class UpdateMessageBusRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateMessageBusRequest.Builder> implements UpdateMessageBusRequestOrBuilder
 The request message for the UpdateMessageBus method.
 
Protobuf type google.cloud.eventarc.v1.UpdateMessageBusRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateMessageBusRequest.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.GeneratedMessage.Builder<UpdateMessageBusRequest.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.GeneratedMessage.Builder<UpdateMessageBusRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateMessageBusRequest.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<UpdateMessageBusRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public UpdateMessageBusRequest.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<UpdateMessageBusRequest.Builder>
      Throws:
      IOException
    • hasMessageBus

      public boolean hasMessageBus()
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasMessageBus in interface UpdateMessageBusRequestOrBuilder
      Returns:
      Whether the messageBus field is set.
    • getMessageBus

      public MessageBus getMessageBus()
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMessageBus in interface UpdateMessageBusRequestOrBuilder
      Returns:
      The messageBus.
    • setMessageBus

      public UpdateMessageBusRequest.Builder setMessageBus(MessageBus value)
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
    • setMessageBus

      public UpdateMessageBusRequest.Builder setMessageBus(MessageBus.Builder builderForValue)
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeMessageBus

      public UpdateMessageBusRequest.Builder mergeMessageBus(MessageBus value)
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearMessageBus

      public UpdateMessageBusRequest.Builder clearMessageBus()
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMessageBusBuilder

      public MessageBus.Builder getMessageBusBuilder()
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMessageBusOrBuilder

      public MessageBusOrBuilder getMessageBusOrBuilder()
       Required. The MessageBus to be updated.
       
      .google.cloud.eventarc.v1.MessageBus message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMessageBusOrBuilder in interface UpdateMessageBusRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateMessageBusRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateMessageBusRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateMessageBusRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateMessageBusRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateMessageBusRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateMessageBusRequest.Builder clearUpdateMask()
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The fields to be updated; only fields explicitly provided are
       updated. If no field mask is provided, all provided fields in the request
       are updated. To update all fields, provide a field mask of "*".
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateMessageBusRequestOrBuilder
    • getAllowMissing

      public boolean getAllowMissing()
       Optional. If set to true, and the MessageBus is not found, a new MessageBus
       will be created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowMissing in interface UpdateMessageBusRequestOrBuilder
      Returns:
      The allowMissing.
    • setAllowMissing

      public UpdateMessageBusRequest.Builder setAllowMissing(boolean value)
       Optional. If set to true, and the MessageBus is not found, a new MessageBus
       will be created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The allowMissing to set.
      Returns:
      This builder for chaining.
    • clearAllowMissing

      public UpdateMessageBusRequest.Builder clearAllowMissing()
       Optional. If set to true, and the MessageBus is not found, a new MessageBus
       will be created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. If set, validate the request and preview the review, but do not
       post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface UpdateMessageBusRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public UpdateMessageBusRequest.Builder setValidateOnly(boolean value)
       Optional. If set, validate the request and preview the review, but do not
       post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public UpdateMessageBusRequest.Builder clearValidateOnly()
       Optional. If set, validate the request and preview the review, but do not
       post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.