Class ListDocumentSchemasResponse.Builder (0.38.0)

public static final class ListDocumentSchemasResponse.Builder extends GeneratedMessageV3.Builder<ListDocumentSchemasResponse.Builder> implements ListDocumentSchemasResponseOrBuilder

Response message for DocumentSchemaService.ListDocumentSchemas.

Protobuf type google.cloud.contentwarehouse.v1.ListDocumentSchemasResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDocumentSchemas(Iterable<? extends DocumentSchema> values)

public ListDocumentSchemasResponse.Builder addAllDocumentSchemas(Iterable<? extends DocumentSchema> values)

The document schemas from the specified parent.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.DocumentSchema>
Returns
Type Description
ListDocumentSchemasResponse.Builder

addDocumentSchemas(DocumentSchema value)

public ListDocumentSchemasResponse.Builder addDocumentSchemas(DocumentSchema value)

The document schemas from the specified parent.

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

Parameter
Name Description
value DocumentSchema
Returns
Type Description
ListDocumentSchemasResponse.Builder

addDocumentSchemas(DocumentSchema.Builder builderForValue)

public ListDocumentSchemasResponse.Builder addDocumentSchemas(DocumentSchema.Builder builderForValue)

The document schemas from the specified parent.

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

Parameter
Name Description
builderForValue DocumentSchema.Builder
Returns
Type Description
ListDocumentSchemasResponse.Builder

addDocumentSchemas(int index, DocumentSchema value)

public ListDocumentSchemasResponse.Builder addDocumentSchemas(int index, DocumentSchema value)

The document schemas from the specified parent.

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

Parameters
Name Description
index int
value DocumentSchema
Returns
Type Description
ListDocumentSchemasResponse.Builder

addDocumentSchemas(int index, DocumentSchema.Builder builderForValue)

public ListDocumentSchemasResponse.Builder addDocumentSchemas(int index, DocumentSchema.Builder builderForValue)

The document schemas from the specified parent.

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

Parameters
Name Description
index int
builderForValue DocumentSchema.Builder
Returns
Type Description
ListDocumentSchemasResponse.Builder

addDocumentSchemasBuilder()

public DocumentSchema.Builder addDocumentSchemasBuilder()

The document schemas from the specified parent.

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

Returns
Type Description
DocumentSchema.Builder

addDocumentSchemasBuilder(int index)

public DocumentSchema.Builder addDocumentSchemasBuilder(int index)

The document schemas from the specified parent.

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

Parameter
Name Description
index int
Returns
Type Description
DocumentSchema.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDocumentSchemasResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

build()

public ListDocumentSchemasResponse build()
Returns
Type Description
ListDocumentSchemasResponse

buildPartial()

public ListDocumentSchemasResponse buildPartial()
Returns
Type Description
ListDocumentSchemasResponse

clear()

public ListDocumentSchemasResponse.Builder clear()
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

clearDocumentSchemas()

public ListDocumentSchemasResponse.Builder clearDocumentSchemas()

The document schemas from the specified parent.

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

Returns
Type Description
ListDocumentSchemasResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDocumentSchemasResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

clearNextPageToken()

public ListDocumentSchemasResponse.Builder clearNextPageToken()

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
Type Description
ListDocumentSchemasResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDocumentSchemasResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

clone()

public ListDocumentSchemasResponse.Builder clone()
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDocumentSchemasResponse getDefaultInstanceForType()
Returns
Type Description
ListDocumentSchemasResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Name Description
index int
Returns
Type Description
DocumentSchema

getDocumentSchemasBuilder(int index)

public DocumentSchema.Builder getDocumentSchemasBuilder(int index)

The document schemas from the specified parent.

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

Parameter
Name Description
index int
Returns
Type Description
DocumentSchema.Builder

getDocumentSchemasBuilderList()

public List<DocumentSchema.Builder> getDocumentSchemasBuilderList()

The document schemas from the specified parent.

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

Returns
Type Description
List<Builder>

getDocumentSchemasCount()

public int getDocumentSchemasCount()

The document schemas from the specified parent.

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

Returns
Type Description
int

getDocumentSchemasList()

public List<DocumentSchema> getDocumentSchemasList()

The document schemas from the specified parent.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
DocumentSchemaOrBuilder

getDocumentSchemasOrBuilderList()

public List<? extends DocumentSchemaOrBuilder> getDocumentSchemasOrBuilderList()

The document schemas from the specified parent.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDocumentSchemasResponse other)

public ListDocumentSchemasResponse.Builder mergeFrom(ListDocumentSchemasResponse other)
Parameter
Name Description
other ListDocumentSchemasResponse
Returns
Type Description
ListDocumentSchemasResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDocumentSchemasResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDocumentSchemasResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDocumentSchemasResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

removeDocumentSchemas(int index)

public ListDocumentSchemasResponse.Builder removeDocumentSchemas(int index)

The document schemas from the specified parent.

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

Parameter
Name Description
index int
Returns
Type Description
ListDocumentSchemasResponse.Builder

setDocumentSchemas(int index, DocumentSchema value)

public ListDocumentSchemasResponse.Builder setDocumentSchemas(int index, DocumentSchema value)

The document schemas from the specified parent.

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

Parameters
Name Description
index int
value DocumentSchema
Returns
Type Description
ListDocumentSchemasResponse.Builder

setDocumentSchemas(int index, DocumentSchema.Builder builderForValue)

public ListDocumentSchemasResponse.Builder setDocumentSchemas(int index, DocumentSchema.Builder builderForValue)

The document schemas from the specified parent.

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

Parameters
Name Description
index int
builderForValue DocumentSchema.Builder
Returns
Type Description
ListDocumentSchemasResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDocumentSchemasResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

setNextPageToken(String value)

public ListDocumentSchemasResponse.Builder setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDocumentSchemasResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDocumentSchemasResponse.Builder setNextPageTokenBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDocumentSchemasResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListDocumentSchemasResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDocumentSchemasResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDocumentSchemasResponse.Builder
Overrides