Interface DestinationOrBuilder (0.14.1)

public interface DestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudFunction()

public abstract String getCloudFunction()

The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function} This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

string cloud_function = 2;

Returns
TypeDescription
String

The cloudFunction.

getCloudFunctionBytes()

public abstract ByteString getCloudFunctionBytes()

The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function} This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

string cloud_function = 2;

Returns
TypeDescription
ByteString

The bytes for cloudFunction.

getCloudRun()

public abstract CloudRun getCloudRun()

Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

.google.events.cloud.eventarc.v1.CloudRun cloud_run = 1;

Returns
TypeDescription
CloudRun

The cloudRun.

getCloudRunOrBuilder()

public abstract CloudRunOrBuilder getCloudRunOrBuilder()

Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

.google.events.cloud.eventarc.v1.CloudRun cloud_run = 1;

Returns
TypeDescription
CloudRunOrBuilder

getDescriptorCase()

public abstract Destination.DescriptorCase getDescriptorCase()
Returns
TypeDescription
Destination.DescriptorCase

getGke()

public abstract GKE getGke()

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

.google.events.cloud.eventarc.v1.GKE gke = 3;

Returns
TypeDescription
GKE

The gke.

getGkeOrBuilder()

public abstract GKEOrBuilder getGkeOrBuilder()

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

.google.events.cloud.eventarc.v1.GKE gke = 3;

Returns
TypeDescription
GKEOrBuilder

getWorkflow()

public abstract String getWorkflow()

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}

string workflow = 4;

Returns
TypeDescription
String

The workflow.

getWorkflowBytes()

public abstract ByteString getWorkflowBytes()

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}

string workflow = 4;

Returns
TypeDescription
ByteString

The bytes for workflow.

hasCloudFunction()

public abstract boolean hasCloudFunction()

The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function} This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

string cloud_function = 2;

Returns
TypeDescription
boolean

Whether the cloudFunction field is set.

hasCloudRun()

public abstract boolean hasCloudRun()

Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.

.google.events.cloud.eventarc.v1.CloudRun cloud_run = 1;

Returns
TypeDescription
boolean

Whether the cloudRun field is set.

hasGke()

public abstract boolean hasGke()

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

.google.events.cloud.eventarc.v1.GKE gke = 3;

Returns
TypeDescription
boolean

Whether the gke field is set.

hasWorkflow()

public abstract boolean hasWorkflow()

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}

string workflow = 4;

Returns
TypeDescription
boolean

Whether the workflow field is set.