Class Pipeline.MessagePayloadFormat.AvroFormat.Builder (1.54.0)

public static final class Pipeline.MessagePayloadFormat.AvroFormat.Builder extends GeneratedMessageV3.Builder<Pipeline.MessagePayloadFormat.AvroFormat.Builder> implements Pipeline.MessagePayloadFormat.AvroFormatOrBuilder

The format of an AVRO message payload.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemaDefinition()

public Pipeline.MessagePayloadFormat.AvroFormat.Builder clearSchemaDefinition()

Optional. The entire schema definition is stored in this field.

string schema_definition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.MessagePayloadFormat.AvroFormat.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getSchemaDefinition()

public String getSchemaDefinition()

Optional. The entire schema definition is stored in this field.

string schema_definition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The schemaDefinition.

getSchemaDefinitionBytes()

public ByteString getSchemaDefinitionBytes()

Optional. The entire schema definition is stored in this field.

string schema_definition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for schemaDefinition.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Pipeline.MessagePayloadFormat.AvroFormat other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSchemaDefinition(String value)

public Pipeline.MessagePayloadFormat.AvroFormat.Builder setSchemaDefinition(String value)

Optional. The entire schema definition is stored in this field.

string schema_definition = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The schemaDefinition to set.

Returns
Type Description
Pipeline.MessagePayloadFormat.AvroFormat.Builder

This builder for chaining.

setSchemaDefinitionBytes(ByteString value)

public Pipeline.MessagePayloadFormat.AvroFormat.Builder setSchemaDefinitionBytes(ByteString value)

Optional. The entire schema definition is stored in this field.

string schema_definition = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for schemaDefinition to set.

Returns
Type Description
Pipeline.MessagePayloadFormat.AvroFormat.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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