Class Pipeline.Mediation (1.55.0)

public static final class Pipeline.Mediation extends GeneratedMessageV3 implements Pipeline.MediationOrBuilder

Mediation defines different ways to modify the Pipeline.

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

Static Fields

TRANSFORMATION_FIELD_NUMBER

public static final int TRANSFORMATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Pipeline.Mediation getDefaultInstance()
Returns
Type Description
Pipeline.Mediation

getDescriptor()

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

newBuilder()

public static Pipeline.Mediation.Builder newBuilder()
Returns
Type Description
Pipeline.Mediation.Builder

newBuilder(Pipeline.Mediation prototype)

public static Pipeline.Mediation.Builder newBuilder(Pipeline.Mediation prototype)
Parameter
Name Description
prototype Pipeline.Mediation
Returns
Type Description
Pipeline.Mediation.Builder

parseDelimitedFrom(InputStream input)

public static Pipeline.Mediation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Pipeline.Mediation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Pipeline.Mediation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Pipeline.Mediation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Pipeline.Mediation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Pipeline.Mediation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Pipeline.Mediation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Pipeline.Mediation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Pipeline.Mediation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Pipeline.Mediation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Pipeline.Mediation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Pipeline.Mediation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Mediation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Pipeline.Mediation> parser()
Returns
Type Description
Parser<Mediation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getMediationDescriptorCase()

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

getParserForType()

public Parser<Pipeline.Mediation> getParserForType()
Returns
Type Description
Parser<Mediation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Pipeline.Mediation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Pipeline.Mediation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException