Class SetDefaultProcessorVersionRequest (2.11.0)

public final class SetDefaultProcessorVersionRequest extends GeneratedMessageV3 implements SetDefaultProcessorVersionRequestOrBuilder

Request message for the set default processor version method.

Protobuf type google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SetDefaultProcessorVersionRequest

Static Fields

DEFAULT_PROCESSOR_VERSION_FIELD_NUMBER

public static final int DEFAULT_PROCESSOR_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_FIELD_NUMBER

public static final int PROCESSOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SetDefaultProcessorVersionRequest getDefaultInstance()
Returns
TypeDescription
SetDefaultProcessorVersionRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SetDefaultProcessorVersionRequest.Builder newBuilder()
Returns
TypeDescription
SetDefaultProcessorVersionRequest.Builder

newBuilder(SetDefaultProcessorVersionRequest prototype)

public static SetDefaultProcessorVersionRequest.Builder newBuilder(SetDefaultProcessorVersionRequest prototype)
Parameter
NameDescription
prototypeSetDefaultProcessorVersionRequest
Returns
TypeDescription
SetDefaultProcessorVersionRequest.Builder

parseDelimitedFrom(InputStream input)

public static SetDefaultProcessorVersionRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetDefaultProcessorVersionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SetDefaultProcessorVersionRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SetDefaultProcessorVersionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SetDefaultProcessorVersionRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SetDefaultProcessorVersionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SetDefaultProcessorVersionRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SetDefaultProcessorVersionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SetDefaultProcessorVersionRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetDefaultProcessorVersionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SetDefaultProcessorVersionRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SetDefaultProcessorVersionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetDefaultProcessorVersionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SetDefaultProcessorVersionRequest> parser()
Returns
TypeDescription
Parser<SetDefaultProcessorVersionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SetDefaultProcessorVersionRequest getDefaultInstanceForType()
Returns
TypeDescription
SetDefaultProcessorVersionRequest

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
TypeDescription
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
TypeDescription
ByteString

The bytes for defaultProcessorVersion.

getParserForType()

public Parser<SetDefaultProcessorVersionRequest> getParserForType()
Returns
TypeDescription
Parser<SetDefaultProcessorVersionRequest>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for processor.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SetDefaultProcessorVersionRequest.Builder newBuilderForType()
Returns
TypeDescription
SetDefaultProcessorVersionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SetDefaultProcessorVersionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SetDefaultProcessorVersionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SetDefaultProcessorVersionRequest.Builder toBuilder()
Returns
TypeDescription
SetDefaultProcessorVersionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException