Class ListProcessorsResponse (2.41.0)

public final class ListProcessorsResponse extends GeneratedMessageV3 implements ListProcessorsResponseOrBuilder

Response message for the ListProcessors method.

Protobuf type google.cloud.documentai.v1.ListProcessorsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSORS_FIELD_NUMBER

public static final int PROCESSORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListProcessorsResponse getDefaultInstance()
Returns
TypeDescription
ListProcessorsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListProcessorsResponse prototype)

public static ListProcessorsResponse.Builder newBuilder(ListProcessorsResponse prototype)
Parameter
NameDescription
prototypeListProcessorsResponse
Returns
TypeDescription
ListProcessorsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListProcessorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProcessorsResponse

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<ListProcessorsResponse> getParserForType()
Returns
TypeDescription
Parser<ListProcessorsResponse>
Overrides

getProcessors(int index)

public Processor getProcessors(int index)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Processor

getProcessorsCount()

public int getProcessorsCount()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
TypeDescription
int

getProcessorsList()

public List<Processor> getProcessorsList()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
TypeDescription
List<Processor>

getProcessorsOrBuilder(int index)

public ProcessorOrBuilder getProcessorsOrBuilder(int index)

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProcessorOrBuilder

getProcessorsOrBuilderList()

public List<? extends ProcessorOrBuilder> getProcessorsOrBuilderList()

The list of processors.

repeated .google.cloud.documentai.v1.Processor processors = 1;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.ProcessorOrBuilder>

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 ListProcessorsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListProcessorsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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