Class Pipeline.Mediation.Builder (1.55.0)

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

Mediation defines different ways to modify the Pipeline.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMediationDescriptor()

public Pipeline.Mediation.Builder clearMediationDescriptor()
Returns
Type Description
Pipeline.Mediation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransformation()

public Pipeline.Mediation.Builder clearTransformation()

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Mediation.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMediationDescriptorCase()

public Pipeline.Mediation.MediationDescriptorCase getMediationDescriptorCase()
Returns
Type Description
Pipeline.Mediation.MediationDescriptorCase

getTransformation()

public Pipeline.Mediation.Transformation getTransformation()

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Mediation.Transformation

The transformation.

getTransformationBuilder()

public Pipeline.Mediation.Transformation.Builder getTransformationBuilder()

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Mediation.Transformation.Builder

getTransformationOrBuilder()

public Pipeline.Mediation.TransformationOrBuilder getTransformationOrBuilder()

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Mediation.TransformationOrBuilder

hasTransformation()

public boolean hasTransformation()

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the transformation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Pipeline.Mediation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTransformation(Pipeline.Mediation.Transformation value)

public Pipeline.Mediation.Builder mergeTransformation(Pipeline.Mediation.Transformation value)

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTransformation(Pipeline.Mediation.Transformation value)

public Pipeline.Mediation.Builder setTransformation(Pipeline.Mediation.Transformation value)

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

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

setTransformation(Pipeline.Mediation.Transformation.Builder builderForValue)

public Pipeline.Mediation.Builder setTransformation(Pipeline.Mediation.Transformation.Builder builderForValue)

Optional. How the Pipeline is to transform messages

.google.cloud.eventarc.v1.Pipeline.Mediation.Transformation transformation = 1 [(.google.api.field_behavior) = OPTIONAL];

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

setUnknownFields(UnknownFieldSet unknownFields)

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