public static final class Pipeline.MessagePayloadFormat.Builder extends GeneratedMessageV3.Builder<Pipeline.MessagePayloadFormat.Builder> implements Pipeline.MessagePayloadFormatOrBuilder
Represents the format of message data.
Protobuf type google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Pipeline.MessagePayloadFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Pipeline.MessagePayloadFormat build()
public Pipeline.MessagePayloadFormat buildPartial()
public Pipeline.MessagePayloadFormat.Builder clear()
Overrides
public Pipeline.MessagePayloadFormat.Builder clearAvro()
Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Pipeline.MessagePayloadFormat.Builder clearJson()
Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.Builder clearKind()
public Pipeline.MessagePayloadFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Pipeline.MessagePayloadFormat.Builder clearProtobuf()
Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.Builder clone()
Overrides
public Pipeline.MessagePayloadFormat.AvroFormat getAvro()
Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.AvroFormat.Builder getAvroBuilder()
Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.AvroFormatOrBuilder getAvroOrBuilder()
Optional. Avro format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormat avro = 2 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Pipeline.MessagePayloadFormat.JsonFormat getJson()
Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.JsonFormat.Builder getJsonBuilder()
Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.JsonFormatOrBuilder getJsonOrBuilder()
Optional. JSON format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat json = 3 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.KindCase getKindCase()
public Pipeline.MessagePayloadFormat.ProtobufFormat getProtobuf()
Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.ProtobufFormat.Builder getProtobufBuilder()
Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
public Pipeline.MessagePayloadFormat.ProtobufFormatOrBuilder getProtobufOrBuilder()
Optional. Protobuf format.
.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormat protobuf = 1 [(.google.api.field_behavior) = OPTIONAL];
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public Pipeline.MessagePayloadFormat.Builder mergeFrom(Pipeline.MessagePayloadFormat other)
public Pipeline.MessagePayloadFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Pipeline.MessagePayloadFormat.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
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];
public final Pipeline.MessagePayloadFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
public Pipeline.MessagePayloadFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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];
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];
public Pipeline.MessagePayloadFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Pipeline.MessagePayloadFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides