Interface ChannelOrBuilder (0.16.0)

public interface ChannelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActivationToken()

public abstract 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;

Returns
Type Description
String

The activationToken.

getActivationTokenBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for activationToken.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
TimestampOrBuilder

getCryptoKeyName()

public abstract String getCryptoKeyName()

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.

string crypto_key_name = 11;

Returns
Type Description
String

The cryptoKeyName.

getCryptoKeyNameBytes()

public abstract ByteString getCryptoKeyNameBytes()

Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.

string crypto_key_name = 11;

Returns
Type Description
ByteString

The bytes for cryptoKeyName.

getName()

public abstract 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;

Returns
Type Description
String

The name.

getNameBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for name.

getProvider()

public abstract String getProvider()

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;

Returns
Type Description
String

The provider.

getProviderBytes()

public abstract ByteString getProviderBytes()

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;

Returns
Type Description
ByteString

The bytes for provider.

getPubsubTopic()

public abstract 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;

Returns
Type Description
String

The pubsubTopic.

getPubsubTopicBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for pubsubTopic.

getState()

public abstract Channel.State getState()

Output only. The state of a Channel.

.google.events.cloud.eventarc.v1.Channel.State state = 9;

Returns
Type Description
Channel.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of a Channel.

.google.events.cloud.eventarc.v1.Channel.State state = 9;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTransportCase()

public abstract Channel.TransportCase getTransportCase()
Returns
Type Description
Channel.TransportCase

getUid()

public abstract 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;

Returns
Type Description
String

The uid.

getUidBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
boolean

Whether the createTime field is set.

hasPubsubTopic()

public abstract 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;

Returns
Type Description
boolean

Whether the pubsubTopic field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last-modified time.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
boolean

Whether the updateTime field is set.