Class Pipeline.MessagePayloadFormat.JsonFormat.Builder (1.54.0)

public static final class Pipeline.MessagePayloadFormat.JsonFormat.Builder extends GeneratedMessageV3.Builder<Pipeline.MessagePayloadFormat.JsonFormat.Builder> implements Pipeline.MessagePayloadFormat.JsonFormatOrBuilder

The format of a JSON message payload.

Protobuf type google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormat

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Pipeline.MessagePayloadFormat.JsonFormat build()
Returns
Type Description
Pipeline.MessagePayloadFormat.JsonFormat

buildPartial()

public Pipeline.MessagePayloadFormat.JsonFormat buildPartial()
Returns
Type Description
Pipeline.MessagePayloadFormat.JsonFormat

clear()

public Pipeline.MessagePayloadFormat.JsonFormat.Builder clear()
Returns
Type Description
Pipeline.MessagePayloadFormat.JsonFormat.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Pipeline.MessagePayloadFormat.JsonFormat.Builder clone()
Returns
Type Description
Pipeline.MessagePayloadFormat.JsonFormat.Builder
Overrides

getDefaultInstanceForType()

public Pipeline.MessagePayloadFormat.JsonFormat getDefaultInstanceForType()
Returns
Type Description
Pipeline.MessagePayloadFormat.JsonFormat

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Pipeline.MessagePayloadFormat.JsonFormat other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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