Class Pipeline.MessagePayloadFormat.ProtobufFormat.Builder (1.54.0)

public static final class Pipeline.MessagePayloadFormat.ProtobufFormat.Builder extends GeneratedMessageV3.Builder<Pipeline.MessagePayloadFormat.ProtobufFormat.Builder> implements Pipeline.MessagePayloadFormat.ProtobufFormatOrBuilder

The format of a Protobuf message payload.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemaDefinition()

public Pipeline.MessagePayloadFormat.ProtobufFormat.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.ProtobufFormat.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

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.ProtobufFormat other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSchemaDefinition(String value)

public Pipeline.MessagePayloadFormat.ProtobufFormat.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.ProtobufFormat.Builder

This builder for chaining.

setSchemaDefinitionBytes(ByteString value)

public Pipeline.MessagePayloadFormat.ProtobufFormat.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.ProtobufFormat.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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