public static final class CreateChannelRequest.Builder extends GeneratedMessageV3.Builder<CreateChannelRequest.Builder> implements CreateChannelRequestOrBuilderThe request message for the CreateChannel method.
Protobuf type google.cloud.eventarc.v1.CreateChannelRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateChannelRequest.BuilderImplements
CreateChannelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| CreateChannelRequest.Builder |
build()
public CreateChannelRequest build()| Type | Description |
| CreateChannelRequest |
buildPartial()
public CreateChannelRequest buildPartial()| Type | Description |
| CreateChannelRequest |
clear()
public CreateChannelRequest.Builder clear()| Type | Description |
| CreateChannelRequest.Builder |
clearChannel()
public CreateChannelRequest.Builder clearChannel()Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| CreateChannelRequest.Builder |
clearChannelId()
public CreateChannelRequest.Builder clearChannelId()Required. The user-provided ID to be assigned to the channel.
string channel_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| CreateChannelRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChannelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| CreateChannelRequest.Builder |
clearParent()
public CreateChannelRequest.Builder clearParent()Required. The parent collection in which to add this channel.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |
clearValidateOnly()
public CreateChannelRequest.Builder clearValidateOnly()Required. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |
clone()
public CreateChannelRequest.Builder clone()| Type | Description |
| CreateChannelRequest.Builder |
getChannel()
public Channel getChannel()Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Channel | The channel. |
getChannelBuilder()
public Channel.Builder getChannelBuilder()Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Channel.Builder |
getChannelId()
public String getChannelId()Required. The user-provided ID to be assigned to the channel.
string channel_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The channelId. |
getChannelIdBytes()
public ByteString getChannelIdBytes()Required. The user-provided ID to be assigned to the channel.
string channel_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for channelId. |
getChannelOrBuilder()
public ChannelOrBuilder getChannelOrBuilder()Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ChannelOrBuilder |
getDefaultInstanceForType()
public CreateChannelRequest getDefaultInstanceForType()| Type | Description |
| CreateChannelRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getParent()
public String getParent()Required. The parent collection in which to add this channel.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| String | The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent collection in which to add this channel.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for parent. |
getValidateOnly()
public boolean getValidateOnly()Required. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | The validateOnly. |
hasChannel()
public boolean hasChannel()Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the channel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeChannel(Channel value)
public CreateChannelRequest.Builder mergeChannel(Channel value)Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | Channel |
| Type | Description |
| CreateChannelRequest.Builder |
mergeFrom(CreateChannelRequest other)
public CreateChannelRequest.Builder mergeFrom(CreateChannelRequest other)| Name | Description |
| other | CreateChannelRequest |
| Type | Description |
| CreateChannelRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| CreateChannelRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public CreateChannelRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| CreateChannelRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CreateChannelRequest.Builder |
setChannel(Channel value)
public CreateChannelRequest.Builder setChannel(Channel value)Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | Channel |
| Type | Description |
| CreateChannelRequest.Builder |
setChannel(Channel.Builder builderForValue)
public CreateChannelRequest.Builder setChannel(Channel.Builder builderForValue)Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| builderForValue | Channel.Builder |
| Type | Description |
| CreateChannelRequest.Builder |
setChannelId(String value)
public CreateChannelRequest.Builder setChannelId(String value)Required. The user-provided ID to be assigned to the channel.
string channel_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe channelId to set. |
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |
setChannelIdBytes(ByteString value)
public CreateChannelRequest.Builder setChannelIdBytes(ByteString value)Required. The user-provided ID to be assigned to the channel.
string channel_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for channelId to set. |
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| CreateChannelRequest.Builder |
setParent(String value)
public CreateChannelRequest.Builder setParent(String value)Required. The parent collection in which to add this channel.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | StringThe parent to set. |
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateChannelRequest.Builder setParentBytes(ByteString value)Required. The parent collection in which to add this channel.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | ByteStringThe bytes for parent to set. |
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateChannelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| CreateChannelRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CreateChannelRequest.Builder |
setValidateOnly(boolean value)
public CreateChannelRequest.Builder setValidateOnly(boolean value)Required. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | booleanThe validateOnly to set. |
| Type | Description |
| CreateChannelRequest.Builder | This builder for chaining. |