Interface CreateChannelRequestOrBuilder (1.2.4)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the channel field is set.