public static final class TrainProcessorVersionResponse.Builder extends GeneratedMessageV3.Builder<TrainProcessorVersionResponse.Builder> implements TrainProcessorVersionResponseOrBuilder
The response for the TrainProcessorVersion method.
Protobuf type google.cloud.documentai.v1beta3.TrainProcessorVersionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TrainProcessorVersionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TrainProcessorVersionResponse build()
Returns
buildPartial()
public TrainProcessorVersionResponse buildPartial()
Returns
clear()
public TrainProcessorVersionResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TrainProcessorVersionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TrainProcessorVersionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProcessorVersion()
public TrainProcessorVersionResponse.Builder clearProcessorVersion()
The resource name of the processor version produced by training.
string processor_version = 1;
Returns
clone()
public TrainProcessorVersionResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TrainProcessorVersionResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getProcessorVersion()
public String getProcessorVersion()
The resource name of the processor version produced by training.
string processor_version = 1;
Returns
Type | Description |
String | The processorVersion.
|
getProcessorVersionBytes()
public ByteString getProcessorVersionBytes()
The resource name of the processor version produced by training.
string processor_version = 1;
Returns
Type | Description |
ByteString | The bytes for processorVersion.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TrainProcessorVersionResponse other)
public TrainProcessorVersionResponse.Builder mergeFrom(TrainProcessorVersionResponse other)
Parameter
Returns
public TrainProcessorVersionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TrainProcessorVersionResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TrainProcessorVersionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TrainProcessorVersionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProcessorVersion(String value)
public TrainProcessorVersionResponse.Builder setProcessorVersion(String value)
The resource name of the processor version produced by training.
string processor_version = 1;
Parameter
Name | Description |
value | String
The processorVersion to set.
|
Returns
setProcessorVersionBytes(ByteString value)
public TrainProcessorVersionResponse.Builder setProcessorVersionBytes(ByteString value)
The resource name of the processor version produced by training.
string processor_version = 1;
Parameter
Name | Description |
value | ByteString
The bytes for processorVersion to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TrainProcessorVersionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TrainProcessorVersionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides