Class CompiledProtoSchema (1.157.0)

public final class CompiledProtoSchema extends GeneratedMessage implements CompiledProtoSchemaOrBuilder

Configuration specific to compiled Protocol Buffer schemas.

Protobuf type google.pubsub.v1.CompiledProtoSchema

Static Fields

COMPILED_BYTES_FIELD_NUMBER

public static final int COMPILED_BYTES_FIELD_NUMBER
Field Value
Type Description
int

ROOT_MESSAGE_FIELD_NUMBER

public static final int ROOT_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompiledProtoSchema getDefaultInstance()
Returns
Type Description
CompiledProtoSchema

getDescriptor()

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

newBuilder()

public static CompiledProtoSchema.Builder newBuilder()
Returns
Type Description
CompiledProtoSchema.Builder

newBuilder(CompiledProtoSchema prototype)

public static CompiledProtoSchema.Builder newBuilder(CompiledProtoSchema prototype)
Parameter
Name Description
prototype CompiledProtoSchema
Returns
Type Description
CompiledProtoSchema.Builder

parseDelimitedFrom(InputStream input)

public static CompiledProtoSchema parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompiledProtoSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompiledProtoSchema parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompiledProtoSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompiledProtoSchema parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompiledProtoSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompiledProtoSchema parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompiledProtoSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompiledProtoSchema parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompiledProtoSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompiledProtoSchema parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompiledProtoSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompiledProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompiledProtoSchema> parser()
Returns
Type Description
Parser<CompiledProtoSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCompiledBytes()

public ByteString getCompiledBytes()

Required. The compiled FileDescriptorSet binary.

bytes compiled_bytes = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The compiledBytes.

getDefaultInstanceForType()

public CompiledProtoSchema getDefaultInstanceForType()
Returns
Type Description
CompiledProtoSchema

getParserForType()

public Parser<CompiledProtoSchema> getParserForType()
Returns
Type Description
Parser<CompiledProtoSchema>
Overrides

getRootMessage()

public String getRootMessage()

Required. The name of the root message type in the schema.

string root_message = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The rootMessage.

getRootMessageBytes()

public ByteString getRootMessageBytes()

Required. The name of the root message type in the schema.

string root_message = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for rootMessage.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CompiledProtoSchema.Builder newBuilderForType()
Returns
Type Description
CompiledProtoSchema.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CompiledProtoSchema.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompiledProtoSchema.Builder
Overrides

toBuilder()

public CompiledProtoSchema.Builder toBuilder()
Returns
Type Description
CompiledProtoSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException