public static final class Pipeline.MessagePayloadFormat.Builder extends GeneratedMessage.Builder<Pipeline.MessagePayloadFormat.Builder> implements Pipeline.MessagePayloadFormatOrBuilderRepresents the format of message data.
Protobuf type google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Pipeline.MessagePayloadFormat.BuilderImplements
Pipeline.MessagePayloadFormatOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Pipeline.MessagePayloadFormat build()| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat |
|
buildPartial()
public Pipeline.MessagePayloadFormat buildPartial()| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat |
|
clear()
public Pipeline.MessagePayloadFormat.Builder clear()| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
clearAvro()
public Pipeline.MessagePayloadFormat.Builder clearAvro()Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
clearJson()
public Pipeline.MessagePayloadFormat.Builder clearJson()Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
clearKind()
public Pipeline.MessagePayloadFormat.Builder clearKind()| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
clearProtobuf()
public Pipeline.MessagePayloadFormat.Builder clearProtobuf()Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
getAvro()
public 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. |
getAvroBuilder()
public Pipeline.MessagePayloadFormat.AvroFormat.Builder getAvroBuilder()Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.AvroFormat.Builder |
|
getAvroOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public Pipeline.MessagePayloadFormat getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJson()
public 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. |
getJsonBuilder()
public Pipeline.MessagePayloadFormat.JsonFormat.Builder getJsonBuilder()Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.JsonFormat.Builder |
|
getJsonOrBuilder()
public 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 Pipeline.MessagePayloadFormat.KindCase getKindCase()| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.KindCase |
|
getProtobuf()
public 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. |
getProtobufBuilder()
public Pipeline.MessagePayloadFormat.ProtobufFormat.Builder getProtobufBuilder()Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.ProtobufFormat.Builder |
|
getProtobufOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAvro(Pipeline.MessagePayloadFormat.AvroFormat value)
public Pipeline.MessagePayloadFormat.Builder mergeAvro(Pipeline.MessagePayloadFormat.AvroFormat value)Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Pipeline.MessagePayloadFormat.AvroFormat |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
mergeFrom(Pipeline.MessagePayloadFormat other)
public Pipeline.MessagePayloadFormat.Builder mergeFrom(Pipeline.MessagePayloadFormat other)| Parameter | |
|---|---|
| Name | Description |
other |
Pipeline.MessagePayloadFormat |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Pipeline.MessagePayloadFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Pipeline.MessagePayloadFormat.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
mergeJson(Pipeline.MessagePayloadFormat.JsonFormat value)
public Pipeline.MessagePayloadFormat.Builder mergeJson(Pipeline.MessagePayloadFormat.JsonFormat value)Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Pipeline.MessagePayloadFormat.JsonFormat |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
mergeProtobuf(Pipeline.MessagePayloadFormat.ProtobufFormat value)
public Pipeline.MessagePayloadFormat.Builder mergeProtobuf(Pipeline.MessagePayloadFormat.ProtobufFormat value)Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Pipeline.MessagePayloadFormat.ProtobufFormat |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
setAvro(Pipeline.MessagePayloadFormat.AvroFormat value)
public Pipeline.MessagePayloadFormat.Builder setAvro(Pipeline.MessagePayloadFormat.AvroFormat value)Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Pipeline.MessagePayloadFormat.AvroFormat |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
setAvro(Pipeline.MessagePayloadFormat.AvroFormat.Builder builderForValue)
public Pipeline.MessagePayloadFormat.Builder setAvro(Pipeline.MessagePayloadFormat.AvroFormat.Builder builderForValue)Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Pipeline.MessagePayloadFormat.AvroFormat.Builder |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
setJson(Pipeline.MessagePayloadFormat.JsonFormat value)
public Pipeline.MessagePayloadFormat.Builder setJson(Pipeline.MessagePayloadFormat.JsonFormat value)Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Pipeline.MessagePayloadFormat.JsonFormat |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
setJson(Pipeline.MessagePayloadFormat.JsonFormat.Builder builderForValue)
public Pipeline.MessagePayloadFormat.Builder setJson(Pipeline.MessagePayloadFormat.JsonFormat.Builder builderForValue)Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Pipeline.MessagePayloadFormat.JsonFormat.Builder |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
setProtobuf(Pipeline.MessagePayloadFormat.ProtobufFormat value)
public Pipeline.MessagePayloadFormat.Builder setProtobuf(Pipeline.MessagePayloadFormat.ProtobufFormat value)Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Pipeline.MessagePayloadFormat.ProtobufFormat |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|
setProtobuf(Pipeline.MessagePayloadFormat.ProtobufFormat.Builder builderForValue)
public Pipeline.MessagePayloadFormat.Builder setProtobuf(Pipeline.MessagePayloadFormat.ProtobufFormat.Builder builderForValue)Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Pipeline.MessagePayloadFormat.ProtobufFormat.Builder |
| Returns | |
|---|---|
| Type | Description |
Pipeline.MessagePayloadFormat.Builder |
|