Package com.google.cloud.eventarc.v1
Interface CreateTriggerRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateTriggerRequest,CreateTriggerRequest.Builder
public interface CreateTriggerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.TriggergetTrigger()Required.StringgetTriggerId()Required.com.google.protobuf.ByteStringgetTriggerIdBytes()Required.TriggerOrBuildergetTriggerOrBuilder()Required.booleangetValidateOnly()Required.booleanhasTrigger()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 trigger.
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 trigger.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasTrigger
boolean hasTrigger()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the trigger field is set.
-
getTrigger
Trigger getTrigger()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The trigger.
-
getTriggerOrBuilder
TriggerOrBuilder getTriggerOrBuilder()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
-
getTriggerId
String getTriggerId()
Required. The user-provided ID to be assigned to the trigger.
string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The triggerId.
-
getTriggerIdBytes
com.google.protobuf.ByteString getTriggerIdBytes()
Required. The user-provided ID to be assigned to the trigger.
string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for triggerId.
-
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.
-
-