Class CreateChannelConnectionRequest.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public CreateChannelConnectionRequest.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<CreateChannelConnectionRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent collection in which to add this channel connection.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateChannelConnectionRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent collection in which to add this channel connection.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateChannelConnectionRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent collection in which to add this channel connection.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent collection in which to add this channel connection.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateChannelConnectionRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent collection in which to add this channel connection.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasChannelConnection

      public boolean hasChannelConnection()
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasChannelConnection in interface CreateChannelConnectionRequestOrBuilder
      Returns:
      Whether the channelConnection field is set.
    • getChannelConnection

      public ChannelConnection getChannelConnection()
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelConnection in interface CreateChannelConnectionRequestOrBuilder
      Returns:
      The channelConnection.
    • setChannelConnection

      public CreateChannelConnectionRequest.Builder setChannelConnection(ChannelConnection value)
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
    • setChannelConnection

      public CreateChannelConnectionRequest.Builder setChannelConnection(ChannelConnection.Builder builderForValue)
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeChannelConnection

      public CreateChannelConnectionRequest.Builder mergeChannelConnection(ChannelConnection value)
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearChannelConnection

      public CreateChannelConnectionRequest.Builder clearChannelConnection()
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
    • getChannelConnectionBuilder

      public ChannelConnection.Builder getChannelConnectionBuilder()
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
    • getChannelConnectionOrBuilder

      public ChannelConnectionOrBuilder getChannelConnectionOrBuilder()
       Required. Channel connection to create.
       
      .google.cloud.eventarc.v1.ChannelConnection channel_connection = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelConnectionOrBuilder in interface CreateChannelConnectionRequestOrBuilder
    • getChannelConnectionId

      public String getChannelConnectionId()
       Required. The user-provided ID to be assigned to the channel connection.
       
      string channel_connection_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelConnectionId in interface CreateChannelConnectionRequestOrBuilder
      Returns:
      The channelConnectionId.
    • getChannelConnectionIdBytes

      public com.google.protobuf.ByteString getChannelConnectionIdBytes()
       Required. The user-provided ID to be assigned to the channel connection.
       
      string channel_connection_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelConnectionIdBytes in interface CreateChannelConnectionRequestOrBuilder
      Returns:
      The bytes for channelConnectionId.
    • setChannelConnectionId

      public CreateChannelConnectionRequest.Builder setChannelConnectionId(String value)
       Required. The user-provided ID to be assigned to the channel connection.
       
      string channel_connection_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The channelConnectionId to set.
      Returns:
      This builder for chaining.
    • clearChannelConnectionId

      public CreateChannelConnectionRequest.Builder clearChannelConnectionId()
       Required. The user-provided ID to be assigned to the channel connection.
       
      string channel_connection_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setChannelConnectionIdBytes

      public CreateChannelConnectionRequest.Builder setChannelConnectionIdBytes(com.google.protobuf.ByteString value)
       Required. The user-provided ID to be assigned to the channel connection.
       
      string channel_connection_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for channelConnectionId to set.
      Returns:
      This builder for chaining.