Class CreateChannelConnectionRequest.Builder

    • Method Detail

      • 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<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.GeneratedMessageV3.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

        public CreateChannelConnectionRequest 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateChannelConnectionRequest.Builder>
      • 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

        public CreateChannelConnectionRequest.Builder setParent​(String 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 parent to set.
        Returns:
        This builder for chaining.
      • clearParent

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