Class Pipeline.Destination.Builder (1.55.0)

public static final class Pipeline.Destination.Builder extends GeneratedMessageV3.Builder<Pipeline.Destination.Builder> implements Pipeline.DestinationOrBuilder

Represents a target of an invocation over HTTP.

Protobuf type google.cloud.eventarc.v1.Pipeline.Destination

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Pipeline.Destination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Pipeline.Destination.Builder
Overrides

build()

public Pipeline.Destination build()
Returns
Type Description
Pipeline.Destination

buildPartial()

public Pipeline.Destination buildPartial()
Returns
Type Description
Pipeline.Destination

clear()

public Pipeline.Destination.Builder clear()
Returns
Type Description
Pipeline.Destination.Builder
Overrides

clearAuthenticationConfig()

public Pipeline.Destination.Builder clearAuthenticationConfig()

Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private GCP destinations that require GCP credentials to 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];

Returns
Type Description
Pipeline.Destination.Builder

clearDestinationDescriptor()

public Pipeline.Destination.Builder clearDestinationDescriptor()
Returns
Type Description
Pipeline.Destination.Builder

clearField(Descriptors.FieldDescriptor field)

public Pipeline.Destination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Pipeline.Destination.Builder
Overrides

clearHttpEndpoint()

public Pipeline.Destination.Builder clearHttpEndpoint()

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

Returns
Type Description
Pipeline.Destination.Builder

clearMessageBus()

public Pipeline.Destination.Builder clearMessageBus()

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) = { ... }

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

clearNetworkConfig()

public Pipeline.Destination.Builder clearNetworkConfig()

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

Returns
Type Description
Pipeline.Destination.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Pipeline.Destination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Pipeline.Destination.Builder
Overrides

clearOutputPayloadFormat()

public Pipeline.Destination.Builder clearOutputPayloadFormat()

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

Returns
Type Description
Pipeline.Destination.Builder

clearTopic()

public Pipeline.Destination.Builder clearTopic()

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) = { ... }

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

clearWorkflow()

public Pipeline.Destination.Builder clearWorkflow()

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) = { ... }

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

clone()

public Pipeline.Destination.Builder clone()
Returns
Type Description
Pipeline.Destination.Builder
Overrides

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 GCP destinations that require GCP credentials to 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];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig

The authenticationConfig.

getAuthenticationConfigBuilder()

public Pipeline.Destination.AuthenticationConfig.Builder getAuthenticationConfigBuilder()

Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private GCP destinations that require GCP credentials to 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];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

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 GCP destinations that require GCP credentials to 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];

Returns
Type Description
Pipeline.Destination.AuthenticationConfigOrBuilder

getDefaultInstanceForType()

public Pipeline.Destination getDefaultInstanceForType()
Returns
Type Description
Pipeline.Destination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinationDescriptorCase()

public Pipeline.Destination.DestinationDescriptorCase getDestinationDescriptorCase()
Returns
Type Description
Pipeline.Destination.DestinationDescriptorCase

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

Returns
Type Description
Pipeline.Destination.HttpEndpoint

The httpEndpoint.

getHttpEndpointBuilder()

public Pipeline.Destination.HttpEndpoint.Builder getHttpEndpointBuilder()

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

Returns
Type Description
Pipeline.Destination.HttpEndpoint.Builder

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

Returns
Type Description
Pipeline.Destination.HttpEndpointOrBuilder

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) = { ... }

Returns
Type Description
String

The messageBus.

getMessageBusBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for messageBus.

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

Returns
Type Description
Pipeline.Destination.NetworkConfig

The networkConfig.

getNetworkConfigBuilder()

public Pipeline.Destination.NetworkConfig.Builder getNetworkConfigBuilder()

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

Returns
Type Description
Pipeline.Destination.NetworkConfig.Builder

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

Returns
Type Description
Pipeline.Destination.NetworkConfigOrBuilder

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

Returns
Type Description
Pipeline.MessagePayloadFormat

The outputPayloadFormat.

getOutputPayloadFormatBuilder()

public Pipeline.MessagePayloadFormat.Builder getOutputPayloadFormatBuilder()

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

Returns
Type Description
Pipeline.MessagePayloadFormat.Builder

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

Returns
Type Description
Pipeline.MessagePayloadFormatOrBuilder

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) = { ... }

Returns
Type Description
String

The topic.

getTopicBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for topic.

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) = { ... }

Returns
Type Description
String

The workflow.

getWorkflowBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for workflow.

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 GCP destinations that require GCP credentials to 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];

Returns
Type Description
boolean

Whether the authenticationConfig field is set.

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

Returns
Type Description
boolean

Whether the httpEndpoint field is set.

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) = { ... }

Returns
Type Description
boolean

Whether the messageBus field is set.

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

Returns
Type Description
boolean

Whether the networkConfig field is set.

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

Returns
Type Description
boolean

Whether the outputPayloadFormat field is set.

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) = { ... }

Returns
Type Description
boolean

Whether the topic field is set.

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) = { ... }

Returns
Type Description
boolean

Whether the workflow field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthenticationConfig(Pipeline.Destination.AuthenticationConfig value)

public Pipeline.Destination.Builder mergeAuthenticationConfig(Pipeline.Destination.AuthenticationConfig value)

Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private GCP destinations that require GCP credentials to 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];

Parameter
Name Description
value Pipeline.Destination.AuthenticationConfig
Returns
Type Description
Pipeline.Destination.Builder

mergeFrom(Pipeline.Destination other)

public Pipeline.Destination.Builder mergeFrom(Pipeline.Destination other)
Parameter
Name Description
other Pipeline.Destination
Returns
Type Description
Pipeline.Destination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Pipeline.Destination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Destination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Pipeline.Destination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Pipeline.Destination.Builder
Overrides

mergeHttpEndpoint(Pipeline.Destination.HttpEndpoint value)

public Pipeline.Destination.Builder mergeHttpEndpoint(Pipeline.Destination.HttpEndpoint value)

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

Parameter
Name Description
value Pipeline.Destination.HttpEndpoint
Returns
Type Description
Pipeline.Destination.Builder

mergeNetworkConfig(Pipeline.Destination.NetworkConfig value)

public Pipeline.Destination.Builder mergeNetworkConfig(Pipeline.Destination.NetworkConfig value)

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

Parameter
Name Description
value Pipeline.Destination.NetworkConfig
Returns
Type Description
Pipeline.Destination.Builder

mergeOutputPayloadFormat(Pipeline.MessagePayloadFormat value)

public Pipeline.Destination.Builder mergeOutputPayloadFormat(Pipeline.MessagePayloadFormat value)

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

Parameter
Name Description
value Pipeline.MessagePayloadFormat
Returns
Type Description
Pipeline.Destination.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Pipeline.Destination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Pipeline.Destination.Builder
Overrides

setAuthenticationConfig(Pipeline.Destination.AuthenticationConfig value)

public Pipeline.Destination.Builder setAuthenticationConfig(Pipeline.Destination.AuthenticationConfig value)

Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private GCP destinations that require GCP credentials to 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];

Parameter
Name Description
value Pipeline.Destination.AuthenticationConfig
Returns
Type Description
Pipeline.Destination.Builder

setAuthenticationConfig(Pipeline.Destination.AuthenticationConfig.Builder builderForValue)

public Pipeline.Destination.Builder setAuthenticationConfig(Pipeline.Destination.AuthenticationConfig.Builder builderForValue)

Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private GCP destinations that require GCP credentials to 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];

Parameter
Name Description
builderForValue Pipeline.Destination.AuthenticationConfig.Builder
Returns
Type Description
Pipeline.Destination.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Pipeline.Destination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Pipeline.Destination.Builder
Overrides

setHttpEndpoint(Pipeline.Destination.HttpEndpoint value)

public Pipeline.Destination.Builder setHttpEndpoint(Pipeline.Destination.HttpEndpoint value)

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

Parameter
Name Description
value Pipeline.Destination.HttpEndpoint
Returns
Type Description
Pipeline.Destination.Builder

setHttpEndpoint(Pipeline.Destination.HttpEndpoint.Builder builderForValue)

public Pipeline.Destination.Builder setHttpEndpoint(Pipeline.Destination.HttpEndpoint.Builder builderForValue)

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

Parameter
Name Description
builderForValue Pipeline.Destination.HttpEndpoint.Builder
Returns
Type Description
Pipeline.Destination.Builder

setMessageBus(String value)

public Pipeline.Destination.Builder setMessageBus(String value)

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) = { ... }

Parameter
Name Description
value String

The messageBus to set.

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

setMessageBusBytes(ByteString value)

public Pipeline.Destination.Builder setMessageBusBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for messageBus to set.

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

setNetworkConfig(Pipeline.Destination.NetworkConfig value)

public Pipeline.Destination.Builder setNetworkConfig(Pipeline.Destination.NetworkConfig value)

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

Parameter
Name Description
value Pipeline.Destination.NetworkConfig
Returns
Type Description
Pipeline.Destination.Builder

setNetworkConfig(Pipeline.Destination.NetworkConfig.Builder builderForValue)

public Pipeline.Destination.Builder setNetworkConfig(Pipeline.Destination.NetworkConfig.Builder builderForValue)

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

Parameter
Name Description
builderForValue Pipeline.Destination.NetworkConfig.Builder
Returns
Type Description
Pipeline.Destination.Builder

setOutputPayloadFormat(Pipeline.MessagePayloadFormat value)

public Pipeline.Destination.Builder setOutputPayloadFormat(Pipeline.MessagePayloadFormat value)

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

Parameter
Name Description
value Pipeline.MessagePayloadFormat
Returns
Type Description
Pipeline.Destination.Builder

setOutputPayloadFormat(Pipeline.MessagePayloadFormat.Builder builderForValue)

public Pipeline.Destination.Builder setOutputPayloadFormat(Pipeline.MessagePayloadFormat.Builder builderForValue)

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

Parameter
Name Description
builderForValue Pipeline.MessagePayloadFormat.Builder
Returns
Type Description
Pipeline.Destination.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Pipeline.Destination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Pipeline.Destination.Builder
Overrides

setTopic(String value)

public Pipeline.Destination.Builder setTopic(String value)

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) = { ... }

Parameter
Name Description
value String

The topic to set.

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

setTopicBytes(ByteString value)

public Pipeline.Destination.Builder setTopicBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for topic to set.

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Pipeline.Destination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Pipeline.Destination.Builder
Overrides

setWorkflow(String value)

public Pipeline.Destination.Builder setWorkflow(String value)

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) = { ... }

Parameter
Name Description
value String

The workflow to set.

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.

setWorkflowBytes(ByteString value)

public Pipeline.Destination.Builder setWorkflowBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for workflow to set.

Returns
Type Description
Pipeline.Destination.Builder

This builder for chaining.