Class Pipeline.Destination

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.eventarc.v1.Pipeline.Destination
All Implemented Interfaces:
Pipeline.DestinationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Pipeline

public static final class Pipeline.Destination extends com.google.protobuf.GeneratedMessage implements Pipeline.DestinationOrBuilder
 Represents a target of an invocation over HTTP.
 
Protobuf type google.cloud.eventarc.v1.Pipeline.Destination
See Also:
  • Field Details

    • NETWORK_CONFIG_FIELD_NUMBER

      public static final int NETWORK_CONFIG_FIELD_NUMBER
      See Also:
    • HTTP_ENDPOINT_FIELD_NUMBER

      public static final int HTTP_ENDPOINT_FIELD_NUMBER
      See Also:
    • WORKFLOW_FIELD_NUMBER

      public static final int WORKFLOW_FIELD_NUMBER
      See Also:
    • MESSAGE_BUS_FIELD_NUMBER

      public static final int MESSAGE_BUS_FIELD_NUMBER
      See Also:
    • TOPIC_FIELD_NUMBER

      public static final int TOPIC_FIELD_NUMBER
      See Also:
    • AUTHENTICATION_CONFIG_FIELD_NUMBER

      public static final int AUTHENTICATION_CONFIG_FIELD_NUMBER
      See Also:
    • OUTPUT_PAYLOAD_FORMAT_FIELD_NUMBER

      public static final int OUTPUT_PAYLOAD_FORMAT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDestinationDescriptorCase

      public Pipeline.Destination.DestinationDescriptorCase getDestinationDescriptorCase()
      Specified by:
      getDestinationDescriptorCase in interface Pipeline.DestinationOrBuilder
    • hasNetworkConfig

      public boolean hasNetworkConfig()
       Optional. Network config is used to configure how Pipeline resolves and
       connects to a destination.
       
      .google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfig network_config = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasNetworkConfig in interface Pipeline.DestinationOrBuilder
      Returns:
      Whether the networkConfig field is set.
    • getNetworkConfig

      public Pipeline.Destination.NetworkConfig getNetworkConfig()
       Optional. Network config is used to configure how Pipeline resolves and
       connects to a destination.
       
      .google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfig network_config = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkConfig in interface Pipeline.DestinationOrBuilder
      Returns:
      The networkConfig.
    • getNetworkConfigOrBuilder

      public Pipeline.Destination.NetworkConfigOrBuilder getNetworkConfigOrBuilder()
       Optional. Network config is used to configure how Pipeline resolves and
       connects to a destination.
       
      .google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfig network_config = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkConfigOrBuilder in interface Pipeline.DestinationOrBuilder
    • hasHttpEndpoint

      public boolean hasHttpEndpoint()
       Optional. An HTTP endpoint destination described by an URI.
       If a DNS FQDN is provided as the endpoint, Pipeline will create a
       peering zone to the consumer VPC and forward DNS requests to the VPC
       specified by network config to resolve the service endpoint. See:
       https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones
       
      .google.cloud.eventarc.v1.Pipeline.Destination.HttpEndpoint http_endpoint = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasHttpEndpoint in interface Pipeline.DestinationOrBuilder
      Returns:
      Whether the httpEndpoint field is set.
    • getHttpEndpoint

      public Pipeline.Destination.HttpEndpoint getHttpEndpoint()
       Optional. An HTTP endpoint destination described by an URI.
       If a DNS FQDN is provided as the endpoint, Pipeline will create a
       peering zone to the consumer VPC and forward DNS requests to the VPC
       specified by network config to resolve the service endpoint. See:
       https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones
       
      .google.cloud.eventarc.v1.Pipeline.Destination.HttpEndpoint http_endpoint = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHttpEndpoint in interface Pipeline.DestinationOrBuilder
      Returns:
      The httpEndpoint.
    • getHttpEndpointOrBuilder

      public Pipeline.Destination.HttpEndpointOrBuilder getHttpEndpointOrBuilder()
       Optional. An HTTP endpoint destination described by an URI.
       If a DNS FQDN is provided as the endpoint, Pipeline will create a
       peering zone to the consumer VPC and forward DNS requests to the VPC
       specified by network config to resolve the service endpoint. See:
       https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones
       
      .google.cloud.eventarc.v1.Pipeline.Destination.HttpEndpoint http_endpoint = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHttpEndpointOrBuilder in interface Pipeline.DestinationOrBuilder
    • hasWorkflow

      public boolean hasWorkflow()
       Optional. 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 Pipeline. Format:
       `projects/{project}/locations/{location}/workflows/{workflow}`
       
      string workflow = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      hasWorkflow in interface Pipeline.DestinationOrBuilder
      Returns:
      Whether the workflow field is set.
    • getWorkflow

      public String getWorkflow()
       Optional. 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 Pipeline. Format:
       `projects/{project}/locations/{location}/workflows/{workflow}`
       
      string workflow = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getWorkflow in interface Pipeline.DestinationOrBuilder
      Returns:
      The workflow.
    • getWorkflowBytes

      public com.google.protobuf.ByteString getWorkflowBytes()
       Optional. 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 Pipeline. Format:
       `projects/{project}/locations/{location}/workflows/{workflow}`
       
      string workflow = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getWorkflowBytes in interface Pipeline.DestinationOrBuilder
      Returns:
      The bytes for workflow.
    • hasMessageBus

      public boolean hasMessageBus()
       Optional. The resource name of the Message Bus to which events should
       be published. The Message Bus resource should exist in the same project
       as the Pipeline. Format:
       `projects/{project}/locations/{location}/messageBuses/{message_bus}`
       
      string message_bus = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      hasMessageBus in interface Pipeline.DestinationOrBuilder
      Returns:
      Whether the messageBus field is set.
    • getMessageBus

      public String getMessageBus()
       Optional. The resource name of the Message Bus to which events should
       be published. The Message Bus resource should exist in the same project
       as the Pipeline. Format:
       `projects/{project}/locations/{location}/messageBuses/{message_bus}`
       
      string message_bus = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getMessageBus in interface Pipeline.DestinationOrBuilder
      Returns:
      The messageBus.
    • getMessageBusBytes

      public com.google.protobuf.ByteString getMessageBusBytes()
       Optional. The resource name of the Message Bus to which events should
       be published. The Message Bus resource should exist in the same project
       as the Pipeline. Format:
       `projects/{project}/locations/{location}/messageBuses/{message_bus}`
       
      string message_bus = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getMessageBusBytes in interface Pipeline.DestinationOrBuilder
      Returns:
      The bytes for messageBus.
    • hasTopic

      public boolean hasTopic()
       Optional. The resource name of the Pub/Sub topic to which events should
       be published. Format:
       `projects/{project}/locations/{location}/topics/{topic}`
       
      string topic = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      hasTopic in interface Pipeline.DestinationOrBuilder
      Returns:
      Whether the topic field is set.
    • getTopic

      public String getTopic()
       Optional. The resource name of the Pub/Sub topic to which events should
       be published. Format:
       `projects/{project}/locations/{location}/topics/{topic}`
       
      string topic = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getTopic in interface Pipeline.DestinationOrBuilder
      Returns:
      The topic.
    • getTopicBytes

      public com.google.protobuf.ByteString getTopicBytes()
       Optional. The resource name of the Pub/Sub topic to which events should
       be published. Format:
       `projects/{project}/locations/{location}/topics/{topic}`
       
      string topic = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getTopicBytes in interface Pipeline.DestinationOrBuilder
      Returns:
      The bytes for topic.
    • hasAuthenticationConfig

      public boolean hasAuthenticationConfig()
       Optional. An authentication config used to authenticate message requests,
       such that destinations can verify the source. For example, this can be
       used with private Google Cloud destinations that require Google Cloud
       credentials for access like Cloud Run. This field is optional and should
       be set only by users interested in authenticated push.
       
      .google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAuthenticationConfig in interface Pipeline.DestinationOrBuilder
      Returns:
      Whether the authenticationConfig field is set.
    • getAuthenticationConfig

      public Pipeline.Destination.AuthenticationConfig getAuthenticationConfig()
       Optional. An authentication config used to authenticate message requests,
       such that destinations can verify the source. For example, this can be
       used with private Google Cloud destinations that require Google Cloud
       credentials for access like Cloud Run. This field is optional and should
       be set only by users interested in authenticated push.
       
      .google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAuthenticationConfig in interface Pipeline.DestinationOrBuilder
      Returns:
      The authenticationConfig.
    • getAuthenticationConfigOrBuilder

      public Pipeline.Destination.AuthenticationConfigOrBuilder getAuthenticationConfigOrBuilder()
       Optional. An authentication config used to authenticate message requests,
       such that destinations can verify the source. For example, this can be
       used with private Google Cloud destinations that require Google Cloud
       credentials for access like Cloud Run. This field is optional and should
       be set only by users interested in authenticated push.
       
      .google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAuthenticationConfigOrBuilder in interface Pipeline.DestinationOrBuilder
    • hasOutputPayloadFormat

      public boolean hasOutputPayloadFormat()
       Optional. The message format before it is delivered to the destination.
       If not set, the message will be delivered in the format it was originally
       delivered to the Pipeline. This field can only be set if
       Pipeline.input_payload_format is also set.
       
      .google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat output_payload_format = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOutputPayloadFormat in interface Pipeline.DestinationOrBuilder
      Returns:
      Whether the outputPayloadFormat field is set.
    • getOutputPayloadFormat

      public Pipeline.MessagePayloadFormat getOutputPayloadFormat()
       Optional. The message format before it is delivered to the destination.
       If not set, the message will be delivered in the format it was originally
       delivered to the Pipeline. This field can only be set if
       Pipeline.input_payload_format is also set.
       
      .google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat output_payload_format = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputPayloadFormat in interface Pipeline.DestinationOrBuilder
      Returns:
      The outputPayloadFormat.
    • getOutputPayloadFormatOrBuilder

      public Pipeline.MessagePayloadFormatOrBuilder getOutputPayloadFormatOrBuilder()
       Optional. The message format before it is delivered to the destination.
       If not set, the message will be delivered in the format it was originally
       delivered to the Pipeline. This field can only be set if
       Pipeline.input_payload_format is also set.
       
      .google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat output_payload_format = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputPayloadFormatOrBuilder in interface Pipeline.DestinationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Pipeline.Destination parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pipeline.Destination parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pipeline.Destination parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pipeline.Destination parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pipeline.Destination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pipeline.Destination parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Pipeline.Destination parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Pipeline.Destination parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Pipeline.Destination parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Pipeline.Destination parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Pipeline.Destination parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Pipeline.Destination parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Pipeline.Destination.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Pipeline.Destination.Builder newBuilder()
    • newBuilder

      public static Pipeline.Destination.Builder newBuilder(Pipeline.Destination prototype)
    • toBuilder

      public Pipeline.Destination.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Pipeline.Destination.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Pipeline.Destination getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Pipeline.Destination> parser()
    • getParserForType

      public com.google.protobuf.Parser<Pipeline.Destination> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Pipeline.Destination getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder