Interface DestinationOrBuilder (1.6.0)

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}

string cloud_function = 2 [(.google.api.resource_reference) = { ... }

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}

string cloud_function = 2 [(.google.api.resource_reference) = { ... }

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

Returns
TypeDescription
GKEOrBuilder

hasCloudFunction()

public abstract boolean hasCloudFunction()

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

string cloud_function = 2 [(.google.api.resource_reference) = { ... }

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

Returns
TypeDescription
boolean

Whether the gke field is set.