public static final class ProcessorVersionAlias.Builder extends GeneratedMessageV3.Builder<ProcessorVersionAlias.Builder> implements ProcessorVersionAliasOrBuilder
Contains the alias and the aliased resource name of processor version.
Protobuf type google.cloud.documentai.v1.ProcessorVersionAlias
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersionAlias.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProcessorVersionAlias build()
buildPartial()
public ProcessorVersionAlias buildPartial()
clear()
public ProcessorVersionAlias.Builder clear()
Overrides
clearAlias()
public ProcessorVersionAlias.Builder clearAlias()
The alias in the form of processor_version
resource name.
string alias = 1;
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersionAlias.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersionAlias.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProcessorVersion()
public ProcessorVersionAlias.Builder clearProcessorVersion()
The resource name of aliased processor version.
string processor_version = 2 [(.google.api.resource_reference) = { ... }
clone()
public ProcessorVersionAlias.Builder clone()
Overrides
getAlias()
The alias in the form of processor_version
resource name.
string alias = 1;
Returns |
---|
Type | Description |
String | The alias.
|
getAliasBytes()
public ByteString getAliasBytes()
The alias in the form of processor_version
resource name.
string alias = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for alias.
|
getDefaultInstanceForType()
public ProcessorVersionAlias getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProcessorVersion()
public String getProcessorVersion()
The resource name of aliased processor version.
string processor_version = 2 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The processorVersion.
|
getProcessorVersionBytes()
public ByteString getProcessorVersionBytes()
The resource name of aliased processor version.
string processor_version = 2 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for processorVersion.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ProcessorVersionAlias other)
public ProcessorVersionAlias.Builder mergeFrom(ProcessorVersionAlias other)
public ProcessorVersionAlias.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProcessorVersionAlias.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersionAlias.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAlias(String value)
public ProcessorVersionAlias.Builder setAlias(String value)
The alias in the form of processor_version
resource name.
string alias = 1;
Parameter |
---|
Name | Description |
value | String
The alias to set.
|
setAliasBytes(ByteString value)
public ProcessorVersionAlias.Builder setAliasBytes(ByteString value)
The alias in the form of processor_version
resource name.
string alias = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for alias to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersionAlias.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProcessorVersion(String value)
public ProcessorVersionAlias.Builder setProcessorVersion(String value)
The resource name of aliased processor version.
string processor_version = 2 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The processorVersion to set.
|
setProcessorVersionBytes(ByteString value)
public ProcessorVersionAlias.Builder setProcessorVersionBytes(ByteString value)
The resource name of aliased processor version.
string processor_version = 2 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for processorVersion to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessorVersionAlias.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersionAlias.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides