Class Pipeline.Builder (1.55.0)

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

A representation of the Pipeline resource.

Protobuf type google.cloud.eventarc.v1.Pipeline

Implements

PipelineOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllDestinations(Iterable<? extends Pipeline.Destination> values)

public Pipeline.Builder addAllDestinations(Iterable<? extends Pipeline.Destination> values)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.eventarc.v1.Pipeline.Destination>
Returns
Type Description
Pipeline.Builder

addAllMediations(Iterable<? extends Pipeline.Mediation> values)

public Pipeline.Builder addAllMediations(Iterable<? extends Pipeline.Mediation> values)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.eventarc.v1.Pipeline.Mediation>
Returns
Type Description
Pipeline.Builder

addDestinations(Pipeline.Destination value)

public Pipeline.Builder addDestinations(Pipeline.Destination value)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

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

addDestinations(Pipeline.Destination.Builder builderForValue)

public Pipeline.Builder addDestinations(Pipeline.Destination.Builder builderForValue)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

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

addDestinations(int index, Pipeline.Destination value)

public Pipeline.Builder addDestinations(int index, Pipeline.Destination value)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Pipeline.Destination
Returns
Type Description
Pipeline.Builder

addDestinations(int index, Pipeline.Destination.Builder builderForValue)

public Pipeline.Builder addDestinations(int index, Pipeline.Destination.Builder builderForValue)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Pipeline.Destination.Builder
Returns
Type Description
Pipeline.Builder

addDestinationsBuilder()

public Pipeline.Destination.Builder addDestinationsBuilder()

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Pipeline.Destination.Builder

addDestinationsBuilder(int index)

public Pipeline.Destination.Builder addDestinationsBuilder(int index)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Destination.Builder

addMediations(Pipeline.Mediation value)

public Pipeline.Builder addMediations(Pipeline.Mediation value)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Pipeline.Mediation
Returns
Type Description
Pipeline.Builder

addMediations(Pipeline.Mediation.Builder builderForValue)

public Pipeline.Builder addMediations(Pipeline.Mediation.Builder builderForValue)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Pipeline.Mediation.Builder
Returns
Type Description
Pipeline.Builder

addMediations(int index, Pipeline.Mediation value)

public Pipeline.Builder addMediations(int index, Pipeline.Mediation value)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Pipeline.Mediation
Returns
Type Description
Pipeline.Builder

addMediations(int index, Pipeline.Mediation.Builder builderForValue)

public Pipeline.Builder addMediations(int index, Pipeline.Mediation.Builder builderForValue)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Pipeline.Mediation.Builder
Returns
Type Description
Pipeline.Builder

addMediationsBuilder()

public Pipeline.Mediation.Builder addMediationsBuilder()

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Mediation.Builder

addMediationsBuilder(int index)

public Pipeline.Mediation.Builder addMediationsBuilder(int index)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Mediation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Pipeline build()
Returns
Type Description
Pipeline

buildPartial()

public Pipeline buildPartial()
Returns
Type Description
Pipeline

clear()

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

clearAnnotations()

public Pipeline.Builder clearAnnotations()
Returns
Type Description
Pipeline.Builder

clearCreateTime()

public Pipeline.Builder clearCreateTime()

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Pipeline.Builder

clearCryptoKeyName()

public Pipeline.Builder clearCryptoKeyName()

Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}".

string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
Pipeline.Builder

This builder for chaining.

clearDestinations()

public Pipeline.Builder clearDestinations()

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Pipeline.Builder

clearDisplayName()

public Pipeline.Builder clearDisplayName()

Optional. Display name of resource.

string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Builder

This builder for chaining.

clearEtag()

public Pipeline.Builder clearEtag()

Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.

string etag = 99;

Returns
Type Description
Pipeline.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInputPayloadFormat()

public Pipeline.Builder clearInputPayloadFormat()

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Builder

clearLabels()

public Pipeline.Builder clearLabels()
Returns
Type Description
Pipeline.Builder

clearLoggingConfig()

public Pipeline.Builder clearLoggingConfig()

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Builder

clearMediations()

public Pipeline.Builder clearMediations()

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Builder

clearName()

public Pipeline.Builder clearName()

Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/pipelines/{pipeline} format.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Pipeline.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRetryPolicy()

public Pipeline.Builder clearRetryPolicy()

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Builder

clearUid()

public Pipeline.Builder clearUid()

Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
Pipeline.Builder

This builder for chaining.

clearUpdateTime()

public Pipeline.Builder clearUpdateTime()

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Pipeline.Builder

clone()

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

containsAnnotations(String key)

public boolean containsAnnotations(String key)

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

public boolean containsLabels(String key)

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public String getAnnotationsOrDefault(String key, String defaultValue)

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

public String getAnnotationsOrThrow(String key)

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCryptoKeyName()

public String getCryptoKeyName()

Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}".

string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cryptoKeyName.

getCryptoKeyNameBytes()

public ByteString getCryptoKeyNameBytes()

Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}".

string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cryptoKeyName.

getDefaultInstanceForType()

public Pipeline getDefaultInstanceForType()
Returns
Type Description
Pipeline

getDescriptorForType()

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

getDestinations(int index)

public Pipeline.Destination getDestinations(int index)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Destination

getDestinationsBuilder(int index)

public Pipeline.Destination.Builder getDestinationsBuilder(int index)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Destination.Builder

getDestinationsBuilderList()

public List<Pipeline.Destination.Builder> getDestinationsBuilderList()

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getDestinationsCount()

public int getDestinationsCount()

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getDestinationsList()

public List<Pipeline.Destination> getDestinationsList()

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Destination>

getDestinationsOrBuilder(int index)

public Pipeline.DestinationOrBuilder getDestinationsOrBuilder(int index)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.DestinationOrBuilder

getDestinationsOrBuilderList()

public List<? extends Pipeline.DestinationOrBuilder> getDestinationsOrBuilderList()

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.eventarc.v1.Pipeline.DestinationOrBuilder>

getDisplayName()

public String getDisplayName()

Optional. Display name of resource.

string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Display name of resource.

string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.

string etag = 99;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.

string etag = 99;

Returns
Type Description
ByteString

The bytes for etag.

getInputPayloadFormat()

public Pipeline.MessagePayloadFormat getInputPayloadFormat()

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat

The inputPayloadFormat.

getInputPayloadFormatBuilder()

public Pipeline.MessagePayloadFormat.Builder getInputPayloadFormatBuilder()

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.Builder

getInputPayloadFormatOrBuilder()

public Pipeline.MessagePayloadFormatOrBuilder getInputPayloadFormatOrBuilder()

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormatOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getLoggingConfig()

public LoggingConfig getLoggingConfig()

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

public LoggingConfig.Builder getLoggingConfigBuilder()

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LoggingConfig.Builder

getLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LoggingConfigOrBuilder

getMediations(int index)

public Pipeline.Mediation getMediations(int index)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Mediation

getMediationsBuilder(int index)

public Pipeline.Mediation.Builder getMediationsBuilder(int index)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Mediation.Builder

getMediationsBuilderList()

public List<Pipeline.Mediation.Builder> getMediationsBuilderList()

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getMediationsCount()

public int getMediationsCount()

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getMediationsList()

public List<Pipeline.Mediation> getMediationsList()

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Mediation>

getMediationsOrBuilder(int index)

public Pipeline.MediationOrBuilder getMediationsOrBuilder(int index)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.MediationOrBuilder

getMediationsOrBuilderList()

public List<? extends Pipeline.MediationOrBuilder> getMediationsOrBuilderList()

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.eventarc.v1.Pipeline.MediationOrBuilder>

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/pipelines/{pipeline} format.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/pipelines/{pipeline} format.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getRetryPolicy()

public Pipeline.RetryPolicy getRetryPolicy()

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.RetryPolicy

The retryPolicy.

getRetryPolicyBuilder()

public Pipeline.RetryPolicy.Builder getRetryPolicyBuilder()

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.RetryPolicy.Builder

getRetryPolicyOrBuilder()

public Pipeline.RetryPolicyOrBuilder getRetryPolicyOrBuilder()

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.RetryPolicyOrBuilder

getUid()

public String getUid()

Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasInputPayloadFormat()

public boolean hasInputPayloadFormat()

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inputPayloadFormat field is set.

hasLoggingConfig()

public boolean hasLoggingConfig()

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the loggingConfig field is set.

hasRetryPolicy()

public boolean hasRetryPolicy()

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the retryPolicy field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Pipeline.Builder mergeCreateTime(Timestamp value)

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Pipeline.Builder

mergeFrom(Pipeline other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInputPayloadFormat(Pipeline.MessagePayloadFormat value)

public Pipeline.Builder mergeInputPayloadFormat(Pipeline.MessagePayloadFormat value)

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

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

mergeLoggingConfig(LoggingConfig value)

public Pipeline.Builder mergeLoggingConfig(LoggingConfig value)

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LoggingConfig
Returns
Type Description
Pipeline.Builder

mergeRetryPolicy(Pipeline.RetryPolicy value)

public Pipeline.Builder mergeRetryPolicy(Pipeline.RetryPolicy value)

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Pipeline.RetryPolicy
Returns
Type Description
Pipeline.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Pipeline.Builder mergeUpdateTime(Timestamp value)

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Pipeline.Builder

putAllAnnotations(Map<String,String> values)

public Pipeline.Builder putAllAnnotations(Map<String,String> values)

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Pipeline.Builder

putAllLabels(Map<String,String> values)

public Pipeline.Builder putAllLabels(Map<String,String> values)

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Pipeline.Builder

putAnnotations(String key, String value)

public Pipeline.Builder putAnnotations(String key, String value)

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
Pipeline.Builder

putLabels(String key, String value)

public Pipeline.Builder putLabels(String key, String value)

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
Pipeline.Builder

removeAnnotations(String key)

public Pipeline.Builder removeAnnotations(String key)

Optional. User-defined annotations. See https://google.aip.dev/128#annotations.

map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Pipeline.Builder

removeDestinations(int index)

public Pipeline.Builder removeDestinations(int index)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Builder

removeLabels(String key)

public Pipeline.Builder removeLabels(String key)

Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Pipeline.Builder

removeMediations(int index)

public Pipeline.Builder removeMediations(int index)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Pipeline.Builder

setCreateTime(Timestamp value)

public Pipeline.Builder setCreateTime(Timestamp value)

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Pipeline.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Pipeline.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Pipeline.Builder

setCryptoKeyName(String value)

public Pipeline.Builder setCryptoKeyName(String value)

Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}".

string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The cryptoKeyName to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setCryptoKeyNameBytes(ByteString value)

public Pipeline.Builder setCryptoKeyNameBytes(ByteString value)

Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}".

string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for cryptoKeyName to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setDestinations(int index, Pipeline.Destination value)

public Pipeline.Builder setDestinations(int index, Pipeline.Destination value)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Pipeline.Destination
Returns
Type Description
Pipeline.Builder

setDestinations(int index, Pipeline.Destination.Builder builderForValue)

public Pipeline.Builder setDestinations(int index, Pipeline.Destination.Builder builderForValue)

Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Pipeline.Destination.Builder
Returns
Type Description
Pipeline.Builder

setDisplayName(String value)

public Pipeline.Builder setDisplayName(String value)

Optional. Display name of resource.

string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Pipeline.Builder setDisplayNameBytes(ByteString value)

Optional. Display name of resource.

string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setEtag(String value)

public Pipeline.Builder setEtag(String value)

Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.

string etag = 99;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Pipeline.Builder setEtagBytes(ByteString value)

Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.

string etag = 99;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputPayloadFormat(Pipeline.MessagePayloadFormat value)

public Pipeline.Builder setInputPayloadFormat(Pipeline.MessagePayloadFormat value)

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

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

setInputPayloadFormat(Pipeline.MessagePayloadFormat.Builder builderForValue)

public Pipeline.Builder setInputPayloadFormat(Pipeline.MessagePayloadFormat.Builder builderForValue)

Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat input_payload_format = 11 [(.google.api.field_behavior) = OPTIONAL];

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

setLoggingConfig(LoggingConfig value)

public Pipeline.Builder setLoggingConfig(LoggingConfig value)

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LoggingConfig
Returns
Type Description
Pipeline.Builder

setLoggingConfig(LoggingConfig.Builder builderForValue)

public Pipeline.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)

Optional. Config to control Platform Logging for Pipelines.

.google.cloud.eventarc.v1.LoggingConfig logging_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue LoggingConfig.Builder
Returns
Type Description
Pipeline.Builder

setMediations(int index, Pipeline.Mediation value)

public Pipeline.Builder setMediations(int index, Pipeline.Mediation value)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Pipeline.Mediation
Returns
Type Description
Pipeline.Builder

setMediations(int index, Pipeline.Mediation.Builder builderForValue)

public Pipeline.Builder setMediations(int index, Pipeline.Mediation.Builder builderForValue)

Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.

repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Pipeline.Mediation.Builder
Returns
Type Description
Pipeline.Builder

setName(String value)

public Pipeline.Builder setName(String value)

Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/pipelines/{pipeline} format.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Pipeline.Builder setNameBytes(ByteString value)

Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/pipelines/{pipeline} format.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

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

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

setRetryPolicy(Pipeline.RetryPolicy value)

public Pipeline.Builder setRetryPolicy(Pipeline.RetryPolicy value)

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Pipeline.RetryPolicy
Returns
Type Description
Pipeline.Builder

setRetryPolicy(Pipeline.RetryPolicy.Builder builderForValue)

public Pipeline.Builder setRetryPolicy(Pipeline.RetryPolicy.Builder builderForValue)

Optional. The retry policy to use in the pipeline.

.google.cloud.eventarc.v1.Pipeline.RetryPolicy retry_policy = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Pipeline.RetryPolicy.Builder
Returns
Type Description
Pipeline.Builder

setUid(String value)

public Pipeline.Builder setUid(String value)

Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setUidBytes(ByteString value)

public Pipeline.Builder setUidBytes(ByteString value)

Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
Pipeline.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Pipeline.Builder setUpdateTime(Timestamp value)

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Pipeline.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Pipeline.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Pipeline.Builder