Interface CreateTriggerRequestOrBuilder (1.47.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the trigger field is set.