- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder |
build()
public CreateChannelRequest build()
Returns | |
---|---|
Type | Description |
CreateChannelRequest |
buildPartial()
public CreateChannelRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateChannelRequest |
clear()
public CreateChannelRequest.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChannelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder | This builder for chaining. |
clone()
public CreateChannelRequest.Builder clone()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ChannelOrBuilder |
getDefaultInstanceForType()
public CreateChannelRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateChannelRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the channel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Channel |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder |
mergeFrom(CreateChannelRequest other)
public CreateChannelRequest.Builder mergeFrom(CreateChannelRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateChannelRequest |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateChannelRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Channel |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Channel.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The channelId to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for channelId to set. |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
CreateChannelRequest.Builder | This builder for chaining. |