Class Pipeline.MessagePayloadFormat.AvroFormat.Builder (1.83.0)

public static final class Pipeline.MessagePayloadFormat.AvroFormat.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.