Interface CreateChannelRequestOrBuilder (1.42.0)

public interface CreateChannelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChannel()

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

getChannelId()

public abstract 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 abstract 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 abstract ChannelOrBuilder getChannelOrBuilder()

Required. The channel to create.

.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelOrBuilder

getParent()

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