Class ListProcessorVersionsResponse (2.33.0)

public final class ListProcessorVersionsResponse extends GeneratedMessageV3 implements ListProcessorVersionsResponseOrBuilder

Response message for the ListProcessorVersions method.

Protobuf type google.cloud.documentai.v1beta3.ListProcessorVersionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_VERSIONS_FIELD_NUMBER

public static final int PROCESSOR_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListProcessorVersionsResponse getDefaultInstance()
Returns
TypeDescription
ListProcessorVersionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListProcessorVersionsResponse prototype)

public static ListProcessorVersionsResponse.Builder newBuilder(ListProcessorVersionsResponse prototype)
Parameter
NameDescription
prototypeListProcessorVersionsResponse
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListProcessorVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProcessorVersionsResponse

getNextPageToken()

public String getNextPageToken()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Points to the next processor, otherwise empty.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListProcessorVersionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListProcessorVersionsResponse>
Overrides

getProcessorVersions(int index)

public ProcessorVersion getProcessorVersions(int index)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorVersion

getProcessorVersionsCount()

public int getProcessorVersionsCount()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
int

getProcessorVersionsList()

public List<ProcessorVersion> getProcessorVersionsList()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
List<ProcessorVersion>

getProcessorVersionsOrBuilder(int index)

public ProcessorVersionOrBuilder getProcessorVersionsOrBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorVersionOrBuilder

getProcessorVersionsOrBuilderList()

public List<? extends ProcessorVersionOrBuilder> getProcessorVersionsOrBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1beta3.ProcessorVersion processor_versions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.ProcessorVersionOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ListProcessorVersionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListProcessorVersionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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