Class UpdateChannelRequest.Builder

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

public static final class UpdateChannelRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateChannelRequest.Builder> implements UpdateChannelRequestOrBuilder
 The request message for the UpdateChannel method.
 
Protobuf type google.cloud.eventarc.v1.UpdateChannelRequest
  • 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<UpdateChannelRequest.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<UpdateChannelRequest.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<UpdateChannelRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateChannelRequest.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<UpdateChannelRequest.Builder>
      Throws:
      IOException
    • hasChannel

      public boolean hasChannel()
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
      Specified by:
      hasChannel in interface UpdateChannelRequestOrBuilder
      Returns:
      Whether the channel field is set.
    • getChannel

      public Channel getChannel()
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
      Specified by:
      getChannel in interface UpdateChannelRequestOrBuilder
      Returns:
      The channel.
    • setChannel

      public UpdateChannelRequest.Builder setChannel(Channel value)
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
    • setChannel

      public UpdateChannelRequest.Builder setChannel(Channel.Builder builderForValue)
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
    • mergeChannel

      public UpdateChannelRequest.Builder mergeChannel(Channel value)
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
    • clearChannel

      public UpdateChannelRequest.Builder clearChannel()
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
    • getChannelBuilder

      public Channel.Builder getChannelBuilder()
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
    • getChannelOrBuilder

      public ChannelOrBuilder getChannelOrBuilder()
       The channel to be updated.
       
      .google.cloud.eventarc.v1.Channel channel = 1;
      Specified by:
      getChannelOrBuilder in interface UpdateChannelRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       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;
      Specified by:
      hasUpdateMask in interface UpdateChannelRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       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;
      Specified by:
      getUpdateMask in interface UpdateChannelRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateChannelRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       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;
    • setUpdateMask

      public UpdateChannelRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       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;
    • mergeUpdateMask

      public UpdateChannelRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       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;
    • clearUpdateMask

      public UpdateChannelRequest.Builder clearUpdateMask()
       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;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       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;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       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;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateChannelRequestOrBuilder
    • getValidateOnly

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

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

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