Class Pipeline.MessagePayloadFormat.ProtobufFormat.Builder (1.58.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

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

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
Overrides

build()

public Pipeline.MessagePayloadFormat.ProtobufFormat build()

buildPartial()

public Pipeline.MessagePayloadFormat.ProtobufFormat buildPartial()

clear()

public Pipeline.MessagePayloadFormat.ProtobufFormat.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Pipeline.MessagePayloadFormat.ProtobufFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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()
Overrides

getDefaultInstanceForType()

public Pipeline.MessagePayloadFormat.ProtobufFormat getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Pipeline.MessagePayloadFormat.ProtobufFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
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
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
Overrides