Package com.google.cloud.eventarc.v1
Interface CreateChannelRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateChannelRequest
,CreateChannelRequest.Builder
public interface CreateChannelRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Channel
getChannel()
Required.String
getChannelId()
Required.com.google.protobuf.ByteString
getChannelIdBytes()
Required.ChannelOrBuilder
getChannelOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
getValidateOnly()
Required.boolean
hasChannel()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasChannel
boolean hasChannel()
Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the channel field is set.
-
getChannel
Channel getChannel()
Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The channel.
-
getChannelOrBuilder
ChannelOrBuilder getChannelOrBuilder()
Required. The channel to create.
.google.cloud.eventarc.v1.Channel channel = 2 [(.google.api.field_behavior) = REQUIRED];
-
getChannelId
String getChannelId()
Required. The user-provided ID to be assigned to the channel.
string channel_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The channelId.
-
getChannelIdBytes
com.google.protobuf.ByteString getChannelIdBytes()
Required. The user-provided ID to be assigned to the channel.
string channel_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for channelId.
-
getValidateOnly
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:
- The validateOnly.
-
-