Package com.google.cloud.eventarc.v1
Interface DestinationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Destination,Destination.Builder
public interface DestinationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCloudFunction()The Cloud Function resource name.com.google.protobuf.ByteStringgetCloudFunctionBytes()The Cloud Function resource name.CloudRungetCloudRun()Cloud Run fully-managed resource that receives the events.CloudRunOrBuildergetCloudRunOrBuilder()Cloud Run fully-managed resource that receives the events.Destination.DescriptorCasegetDescriptorCase()GKEgetGke()A GKE service capable of receiving events.GKEOrBuildergetGkeOrBuilder()A GKE service capable of receiving events.StringgetWorkflow()The resource name of the Workflow whose Executions are triggered by the events.com.google.protobuf.ByteStringgetWorkflowBytes()The resource name of the Workflow whose Executions are triggered by the events.booleanhasCloudFunction()The Cloud Function resource name.booleanhasCloudRun()Cloud Run fully-managed resource that receives the events.booleanhasGke()A GKE service capable of receiving events.booleanhasWorkflow()The resource name of the Workflow whose Executions are triggered by the events.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCloudRun
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:
- Whether the cloudRun field is set.
-
getCloudRun
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:
- The cloudRun.
-
getCloudRunOrBuilder
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;
-
hasCloudFunction
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:
- Whether the cloudFunction field is set.
-
getCloudFunction
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:
- The cloudFunction.
-
getCloudFunctionBytes
com.google.protobuf.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:
- The bytes for cloudFunction.
-
hasGke
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:
- Whether the gke field is set.
-
getGke
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:
- The gke.
-
getGkeOrBuilder
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;
-
hasWorkflow
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:
- Whether the workflow field is set.
-
getWorkflow
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:
- The workflow.
-
getWorkflowBytes
com.google.protobuf.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:
- The bytes for workflow.
-
getDescriptorCase
Destination.DescriptorCase getDescriptorCase()
-
-