- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.2.4
public static final class CreateChannelRequest.Builder extends GeneratedMessageV3.Builder<CreateChannelRequest.Builder> implements CreateChannelRequestOrBuilder
The 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 | boolean The validateOnly to set. |
Type | Description |
CreateChannelRequest.Builder | This builder for chaining. |