public static final class SetDefaultProcessorVersionRequest.Builder extends GeneratedMessageV3.Builder<SetDefaultProcessorVersionRequest.Builder> implements SetDefaultProcessorVersionRequestOrBuilder
Request message for the
SetDefaultProcessorVersion
method.
Protobuf type google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest
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 SetDefaultProcessorVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SetDefaultProcessorVersionRequest build()
buildPartial()
public SetDefaultProcessorVersionRequest buildPartial()
clear()
public SetDefaultProcessorVersionRequest.Builder clear()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public SetDefaultProcessorVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SetDefaultProcessorVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public SetDefaultProcessorVersionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public SetDefaultProcessorVersionRequest getDefaultInstanceForType()
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()
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 |
Type |
Description |
ByteString |
The bytes for processor.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SetDefaultProcessorVersionRequest other)
public SetDefaultProcessorVersionRequest.Builder mergeFrom(SetDefaultProcessorVersionRequest other)
public SetDefaultProcessorVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SetDefaultProcessorVersionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SetDefaultProcessorVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SetDefaultProcessorVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SetDefaultProcessorVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SetDefaultProcessorVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides