Interface CreateTriggerRequestOrBuilder (1.36.0)

public interface CreateTriggerRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract 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
TypeDescription
String

The parent.

getParentBytes()

public abstract 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
TypeDescription
ByteString

The bytes for parent.

getTrigger()

public abstract Trigger getTrigger()

Required. The trigger to create.

.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Trigger

The trigger.

getTriggerId()

public abstract String getTriggerId()

Required. The user-provided ID to be assigned to the trigger.

string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The triggerId.

getTriggerIdBytes()

public abstract ByteString getTriggerIdBytes()

Required. The user-provided ID to be assigned to the trigger.

string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for triggerId.

getTriggerOrBuilder()

public abstract TriggerOrBuilder getTriggerOrBuilder()

Required. The trigger to create.

.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TriggerOrBuilder

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.

hasTrigger()

public abstract boolean hasTrigger()

Required. The trigger to create.

.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the trigger field is set.