Class ListDocumentSchemasResponse (0.2.0)

public final class ListDocumentSchemasResponse extends GeneratedMessageV3 implements ListDocumentSchemasResponseOrBuilder

Response message for DocumentSchemaService.ListDocumentSchemas.

Protobuf type google.cloud.contentwarehouse.v1.ListDocumentSchemasResponse

Static Fields

DOCUMENT_SCHEMAS_FIELD_NUMBER

public static final int DOCUMENT_SCHEMAS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDocumentSchemasResponse getDefaultInstance()
Returns
TypeDescription
ListDocumentSchemasResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListDocumentSchemasResponse prototype)

public static ListDocumentSchemasResponse.Builder newBuilder(ListDocumentSchemasResponse prototype)
Parameter
NameDescription
prototypeListDocumentSchemasResponse
Returns
TypeDescription
ListDocumentSchemasResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListDocumentSchemasResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDocumentSchemasResponse

getDocumentSchemas(int index)

public DocumentSchema getDocumentSchemas(int index)

The document schemas from the specified parent.

repeated .google.cloud.contentwarehouse.v1.DocumentSchema document_schemas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentSchema

getDocumentSchemasCount()

public int getDocumentSchemasCount()

The document schemas from the specified parent.

repeated .google.cloud.contentwarehouse.v1.DocumentSchema document_schemas = 1;

Returns
TypeDescription
int

getDocumentSchemasList()

public List<DocumentSchema> getDocumentSchemasList()

The document schemas from the specified parent.

repeated .google.cloud.contentwarehouse.v1.DocumentSchema document_schemas = 1;

Returns
TypeDescription
List<DocumentSchema>

getDocumentSchemasOrBuilder(int index)

public DocumentSchemaOrBuilder getDocumentSchemasOrBuilder(int index)

The document schemas from the specified parent.

repeated .google.cloud.contentwarehouse.v1.DocumentSchema document_schemas = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentSchemaOrBuilder

getDocumentSchemasOrBuilderList()

public List<? extends DocumentSchemaOrBuilder> getDocumentSchemasOrBuilderList()

The document schemas from the specified parent.

repeated .google.cloud.contentwarehouse.v1.DocumentSchema document_schemas = 1;

Returns
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.DocumentSchemaOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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