public static final class CompiledProtoSchema.Builder extends GeneratedMessage.Builder<CompiledProtoSchema.Builder> implements CompiledProtoSchemaOrBuilderConfiguration specific to compiled Protocol Buffer schemas.
Protobuf type google.pubsub.v1.CompiledProtoSchema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CompiledProtoSchema.BuilderImplements
CompiledProtoSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CompiledProtoSchema build()| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema |
|
buildPartial()
public CompiledProtoSchema buildPartial()| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema |
|
clear()
public CompiledProtoSchema.Builder clear()| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
|
clearCompiledBytes()
public CompiledProtoSchema.Builder clearCompiledBytes()Required. The compiled FileDescriptorSet binary.
bytes compiled_bytes = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
This builder for chaining. |
clearRootMessage()
public CompiledProtoSchema.Builder clearRootMessage()Required. The name of the root message type in the schema.
string root_message = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CompiledProtoSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CompiledProtoSchema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
|
mergeFrom(CompiledProtoSchema other)
public CompiledProtoSchema.Builder mergeFrom(CompiledProtoSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
CompiledProtoSchema |
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
|
setCompiledBytes(ByteString value)
public CompiledProtoSchema.Builder setCompiledBytes(ByteString value)Required. The compiled FileDescriptorSet binary.
bytes compiled_bytes = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe compiledBytes to set. |
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
This builder for chaining. |
setRootMessage(String value)
public CompiledProtoSchema.Builder setRootMessage(String value)Required. The name of the root message type in the schema.
string root_message = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rootMessage to set. |
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
This builder for chaining. |
setRootMessageBytes(ByteString value)
public CompiledProtoSchema.Builder setRootMessageBytes(ByteString value)Required. The name of the root message type in the schema.
string root_message = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rootMessage to set. |
| Returns | |
|---|---|
| Type | Description |
CompiledProtoSchema.Builder |
This builder for chaining. |