- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 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 Channel.Builder extends GeneratedMessageV3.Builder<Channel.Builder> implements ChannelOrBuilder
A representation of the Channel resource. A Channel is a resource on which event providers publish their events. The published events are delivered through the transport associated with the channel. Note that a channel is associated with exactly one event provider.
Protobuf type google.cloud.eventarc.v1.Channel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Channel.BuilderImplements
ChannelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Channel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Channel.Builder |
build()
public Channel build()
Type | Description |
Channel |
buildPartial()
public Channel buildPartial()
Type | Description |
Channel |
clear()
public Channel.Builder clear()
Type | Description |
Channel.Builder |
clearActivationToken()
public Channel.Builder clearActivationToken()
Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
string activation_token = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Channel.Builder | This builder for chaining. |
clearCreateTime()
public Channel.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Channel.Builder |
clearField(Descriptors.FieldDescriptor field)
public Channel.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Channel.Builder |
clearName()
public Channel.Builder clearName()
Required. The resource name of the channel. Must be unique within the location
on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Channel.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Channel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Channel.Builder |
clearProvider()
public Channel.Builder clearProvider()
Required. The name of the event provider (e.g. Eventarc SaaS partner) associated
with the channel. This provider will be granted permissions to publish
events to the channel. Format:
projects/{project}/locations/{location}/providers/{provider_id}
.
string provider = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Channel.Builder | This builder for chaining. |
clearPubsubTopic()
public Channel.Builder clearPubsubTopic()
Output only. The name of the Pub/Sub topic created and managed by Eventarc system as
a transport for the event delivery. Format:
projects/{project}/topics/{topic_id}
.
string pubsub_topic = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Channel.Builder | This builder for chaining. |
clearState()
public Channel.Builder clearState()
Output only. The state of a Channel.
.google.cloud.eventarc.v1.Channel.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Channel.Builder | This builder for chaining. |
clearTransport()
public Channel.Builder clearTransport()
Type | Description |
Channel.Builder |
clearUid()
public Channel.Builder clearUid()
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Channel.Builder | This builder for chaining. |
clearUpdateTime()
public Channel.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Channel.Builder |
clone()
public Channel.Builder clone()
Type | Description |
Channel.Builder |
getActivationToken()
public String getActivationToken()
Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
string activation_token = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The activationToken. |
getActivationTokenBytes()
public ByteString getActivationTokenBytes()
Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
string activation_token = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for activationToken. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Channel getDefaultInstanceForType()
Type | Description |
Channel |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The resource name of the channel. Must be unique within the location
on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the channel. Must be unique within the location
on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for name. |
getProvider()
public String getProvider()
Required. The name of the event provider (e.g. Eventarc SaaS partner) associated
with the channel. This provider will be granted permissions to publish
events to the channel. Format:
projects/{project}/locations/{location}/providers/{provider_id}
.
string provider = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The provider. |
getProviderBytes()
public ByteString getProviderBytes()
Required. The name of the event provider (e.g. Eventarc SaaS partner) associated
with the channel. This provider will be granted permissions to publish
events to the channel. Format:
projects/{project}/locations/{location}/providers/{provider_id}
.
string provider = 7 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for provider. |
getPubsubTopic()
public String getPubsubTopic()
Output only. The name of the Pub/Sub topic created and managed by Eventarc system as
a transport for the event delivery. Format:
projects/{project}/topics/{topic_id}
.
string pubsub_topic = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The pubsubTopic. |
getPubsubTopicBytes()
public ByteString getPubsubTopicBytes()
Output only. The name of the Pub/Sub topic created and managed by Eventarc system as
a transport for the event delivery. Format:
projects/{project}/topics/{topic_id}
.
string pubsub_topic = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for pubsubTopic. |
getState()
public Channel.State getState()
Output only. The state of a Channel.
.google.cloud.eventarc.v1.Channel.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Channel.State | The state. |
getStateValue()
public int getStateValue()
Output only. The state of a Channel.
.google.cloud.eventarc.v1.Channel.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getTransportCase()
public Channel.TransportCase getTransportCase()
Type | Description |
Channel.TransportCase |
getUid()
public String getUid()
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasPubsubTopic()
public boolean hasPubsubTopic()
Output only. The name of the Pub/Sub topic created and managed by Eventarc system as
a transport for the event delivery. Format:
projects/{project}/topics/{topic_id}
.
string pubsub_topic = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the pubsubTopic field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Channel.Builder mergeCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Channel.Builder |
mergeFrom(Channel other)
public Channel.Builder mergeFrom(Channel other)
Name | Description |
other | Channel |
Type | Description |
Channel.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Channel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Channel.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Channel.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Channel.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Channel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Channel.Builder |
mergeUpdateTime(Timestamp value)
public Channel.Builder mergeUpdateTime(Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Channel.Builder |
setActivationToken(String value)
public Channel.Builder setActivationToken(String value)
Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
string activation_token = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The activationToken to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setActivationTokenBytes(ByteString value)
public Channel.Builder setActivationTokenBytes(ByteString value)
Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
string activation_token = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for activationToken to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public Channel.Builder setCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Channel.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Channel.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Channel.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Channel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Channel.Builder |
setName(String value)
public Channel.Builder setName(String value)
Required. The resource name of the channel. Must be unique within the location
on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The name to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Channel.Builder setNameBytes(ByteString value)
Required. The resource name of the channel. Must be unique within the location
on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setProvider(String value)
public Channel.Builder setProvider(String value)
Required. The name of the event provider (e.g. Eventarc SaaS partner) associated
with the channel. This provider will be granted permissions to publish
events to the channel. Format:
projects/{project}/locations/{location}/providers/{provider_id}
.
string provider = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The provider to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setProviderBytes(ByteString value)
public Channel.Builder setProviderBytes(ByteString value)
Required. The name of the event provider (e.g. Eventarc SaaS partner) associated
with the channel. This provider will be granted permissions to publish
events to the channel. Format:
projects/{project}/locations/{location}/providers/{provider_id}
.
string provider = 7 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for provider to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setPubsubTopic(String value)
public Channel.Builder setPubsubTopic(String value)
Output only. The name of the Pub/Sub topic created and managed by Eventarc system as
a transport for the event delivery. Format:
projects/{project}/topics/{topic_id}
.
string pubsub_topic = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The pubsubTopic to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setPubsubTopicBytes(ByteString value)
public Channel.Builder setPubsubTopicBytes(ByteString value)
Output only. The name of the Pub/Sub topic created and managed by Eventarc system as
a transport for the event delivery. Format:
projects/{project}/topics/{topic_id}
.
string pubsub_topic = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for pubsubTopic to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Channel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Channel.Builder |
setState(Channel.State value)
public Channel.Builder setState(Channel.State value)
Output only. The state of a Channel.
.google.cloud.eventarc.v1.Channel.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Channel.State The state to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setStateValue(int value)
public Channel.Builder setStateValue(int value)
Output only. The state of a Channel.
.google.cloud.eventarc.v1.Channel.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setUid(String value)
public Channel.Builder setUid(String value)
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public Channel.Builder setUidBytes(ByteString value)
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
Channel.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Channel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Channel.Builder |
setUpdateTime(Timestamp value)
public Channel.Builder setUpdateTime(Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Channel.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Channel.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Channel.Builder |