Interface DestinationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Destination, Destination.Builder

@Generated public interface DestinationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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. 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:
      Whether the cloudFunction field is set.
    • getCloudFunction

      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:
      The cloudFunction.
    • getCloudFunctionBytes

      com.google.protobuf.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:
      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.
    • hasHttpEndpoint

      boolean hasHttpEndpoint()
       An HTTP endpoint destination described by an URI.
       
      .google.cloud.eventarc.v1.HttpEndpoint http_endpoint = 5;
      Returns:
      Whether the httpEndpoint field is set.
    • getHttpEndpoint

      HttpEndpoint getHttpEndpoint()
       An HTTP endpoint destination described by an URI.
       
      .google.cloud.eventarc.v1.HttpEndpoint http_endpoint = 5;
      Returns:
      The httpEndpoint.
    • getHttpEndpointOrBuilder

      HttpEndpointOrBuilder getHttpEndpointOrBuilder()
       An HTTP endpoint destination described by an URI.
       
      .google.cloud.eventarc.v1.HttpEndpoint http_endpoint = 5;
    • hasNetworkConfig

      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:
      Whether the networkConfig field is set.
    • getNetworkConfig

      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:
      The networkConfig.
    • getNetworkConfigOrBuilder

      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];
    • getDescriptorCase

      Destination.DescriptorCase getDescriptorCase()