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 String
getCloudFunction()
The Cloud Function resource name.com.google.protobuf.ByteString
getCloudFunctionBytes()
The Cloud Function resource name.CloudRun
getCloudRun()
Cloud Run fully-managed resource that receives the events.CloudRunOrBuilder
getCloudRunOrBuilder()
Cloud Run fully-managed resource that receives the events.Destination.DescriptorCase
getDescriptorCase()
GKE
getGke()
A GKE service capable of receiving events.GKEOrBuilder
getGkeOrBuilder()
A GKE service capable of receiving events.String
getWorkflow()
The resource name of the Workflow whose Executions are triggered by the events.com.google.protobuf.ByteString
getWorkflowBytes()
The resource name of the Workflow whose Executions are triggered by the events.boolean
hasCloudFunction()
The Cloud Function resource name.boolean
hasCloudRun()
Cloud Run fully-managed resource that receives the events.boolean
hasGke()
A GKE service capable of receiving events.boolean
hasWorkflow()
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()
-
-