Interface Pipeline.MessagePayloadFormatOrBuilder (1.55.0)

public static interface Pipeline.MessagePayloadFormatOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvro()

public abstract Pipeline.MessagePayloadFormat.AvroFormat getAvro()

Optional. Avro format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.AvroFormat

The avro.

getAvroOrBuilder()

public abstract Pipeline.MessagePayloadFormat.AvroFormatOrBuilder getAvroOrBuilder()

Optional. Avro format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.AvroFormatOrBuilder

getJson()

public abstract Pipeline.MessagePayloadFormat.JsonFormat getJson()

Optional. JSON format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.JsonFormat

The json.

getJsonOrBuilder()

public abstract Pipeline.MessagePayloadFormat.JsonFormatOrBuilder getJsonOrBuilder()

Optional. JSON format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.JsonFormatOrBuilder

getKindCase()

public abstract Pipeline.MessagePayloadFormat.KindCase getKindCase()
Returns
Type Description
Pipeline.MessagePayloadFormat.KindCase

getProtobuf()

public abstract Pipeline.MessagePayloadFormat.ProtobufFormat getProtobuf()

Optional. Protobuf format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.ProtobufFormat

The protobuf.

getProtobufOrBuilder()

public abstract Pipeline.MessagePayloadFormat.ProtobufFormatOrBuilder getProtobufOrBuilder()

Optional. Protobuf format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.ProtobufFormatOrBuilder

hasAvro()

public abstract boolean hasAvro()

Optional. Avro format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the avro field is set.

hasJson()

public abstract boolean hasJson()

Optional. JSON format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the json field is set.

hasProtobuf()

public abstract boolean hasProtobuf()

Optional. Protobuf format.

.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the protobuf field is set.