public static final class SetDefaultProcessorVersionRequest.Builder extends GeneratedMessageV3.Builder<SetDefaultProcessorVersionRequest.Builder> implements SetDefaultProcessorVersionRequestOrBuilder
Request message for the set default processor version method.
Protobuf type google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest
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 SetDefaultProcessorVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SetDefaultProcessorVersionRequest build()
Returns
buildPartial()
public SetDefaultProcessorVersionRequest buildPartial()
Returns
clear()
public SetDefaultProcessorVersionRequest.Builder clear()
Returns
Overrides
clearDefaultProcessorVersion()
public SetDefaultProcessorVersionRequest.Builder clearDefaultProcessorVersion()
Required. The resource name of child ProcessorVersion to use as default.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}
string default_processor_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearField(Descriptors.FieldDescriptor field)
public SetDefaultProcessorVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SetDefaultProcessorVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProcessor()
public SetDefaultProcessorVersionRequest.Builder clearProcessor()
Required. The resource name of the Processor to change default version.
string processor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public SetDefaultProcessorVersionRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SetDefaultProcessorVersionRequest getDefaultInstanceForType()
Returns
getDefaultProcessorVersion()
public String getDefaultProcessorVersion()
Required. The resource name of child ProcessorVersion to use as default.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}
string default_processor_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The defaultProcessorVersion.
|
getDefaultProcessorVersionBytes()
public ByteString getDefaultProcessorVersionBytes()
Required. The resource name of child ProcessorVersion to use as default.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}
string default_processor_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for defaultProcessorVersion.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getProcessor()
public String getProcessor()
Required. The resource name of the Processor to change default version.
string processor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The processor.
|
getProcessorBytes()
public ByteString getProcessorBytes()
Required. The resource name of the Processor to change default version.
string processor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SetDefaultProcessorVersionRequest other)
public SetDefaultProcessorVersionRequest.Builder mergeFrom(SetDefaultProcessorVersionRequest other)
Parameter
Returns
public SetDefaultProcessorVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SetDefaultProcessorVersionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SetDefaultProcessorVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDefaultProcessorVersion(String value)
public SetDefaultProcessorVersionRequest.Builder setDefaultProcessorVersion(String value)
Required. The resource name of child ProcessorVersion to use as default.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}
string default_processor_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The defaultProcessorVersion to set.
|
Returns
setDefaultProcessorVersionBytes(ByteString value)
public SetDefaultProcessorVersionRequest.Builder setDefaultProcessorVersionBytes(ByteString value)
Required. The resource name of child ProcessorVersion to use as default.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}
string default_processor_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for defaultProcessorVersion to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SetDefaultProcessorVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProcessor(String value)
public SetDefaultProcessorVersionRequest.Builder setProcessor(String value)
Required. The resource name of the Processor to change default version.
string processor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The processor to set.
|
Returns
setProcessorBytes(ByteString value)
public SetDefaultProcessorVersionRequest.Builder setProcessorBytes(ByteString value)
Required. The resource name of the Processor to change default version.
string processor = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for processor to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SetDefaultProcessorVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SetDefaultProcessorVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides