Interface DestinationOrBuilder (1.55.0)

public interface DestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudFunction()

public abstract String getCloudFunction()

The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function}

This is a read-only field. Creating Cloud Functions V1/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 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cloudFunction.

getCloudFunctionBytes()

public abstract ByteString getCloudFunctionBytes()

The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function}

This is a read-only field. Creating Cloud Functions V1/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 [(.google.api.resource_reference) = { ... }

Returns
Type Description
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.cloud.eventarc.v1.CloudRun cloud_run = 1;

Returns
Type Description
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.cloud.eventarc.v1.CloudRun cloud_run = 1;

Returns
Type Description
CloudRunOrBuilder

getDescriptorCase()

public abstract Destination.DescriptorCase getDescriptorCase()
Returns
Type Description
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.cloud.eventarc.v1.GKE gke = 3;

Returns
Type Description
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.cloud.eventarc.v1.GKE gke = 3;

Returns
Type Description
GKEOrBuilder

getHttpEndpoint()

public abstract HttpEndpoint getHttpEndpoint()

An HTTP endpoint destination described by an URI.

.google.cloud.eventarc.v1.HttpEndpoint http_endpoint = 5;

Returns
Type Description
HttpEndpoint

The httpEndpoint.

getHttpEndpointOrBuilder()

public abstract HttpEndpointOrBuilder getHttpEndpointOrBuilder()

An HTTP endpoint destination described by an URI.

.google.cloud.eventarc.v1.HttpEndpoint http_endpoint = 5;

Returns
Type Description
HttpEndpointOrBuilder

getNetworkConfig()

public abstract NetworkConfig getNetworkConfig()

Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.

.google.cloud.eventarc.v1.NetworkConfig network_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkConfig

The networkConfig.

getNetworkConfigOrBuilder()

public abstract NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.

.google.cloud.eventarc.v1.NetworkConfig network_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkConfigOrBuilder

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 [(.google.api.resource_reference) = { ... }

Returns
Type Description
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 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workflow.

hasCloudFunction()

public abstract boolean hasCloudFunction()

The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function}

This is a read-only field. Creating Cloud Functions V1/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 [(.google.api.resource_reference) = { ... }

Returns
Type Description
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.cloud.eventarc.v1.CloudRun cloud_run = 1;

Returns
Type Description
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.cloud.eventarc.v1.GKE gke = 3;

Returns
Type Description
boolean

Whether the gke field is set.

hasHttpEndpoint()

public abstract boolean hasHttpEndpoint()

An HTTP endpoint destination described by an URI.

.google.cloud.eventarc.v1.HttpEndpoint http_endpoint = 5;

Returns
Type Description
boolean

Whether the httpEndpoint field is set.

hasNetworkConfig()

public abstract boolean hasNetworkConfig()

Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.

.google.cloud.eventarc.v1.NetworkConfig network_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the networkConfig 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 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the workflow field is set.