Class ListDocumentSchemasResponse.Builder (0.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.DocumentSchema>
Returns
TypeDescription
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
NameDescription
valueDocumentSchema
Returns
TypeDescription
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
NameDescription
builderForValueDocumentSchema.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDocumentSchema
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDocumentSchema.Builder
Returns
TypeDescription
ListDocumentSchemasResponse.Builder

addDocumentSchemasBuilder()

public DocumentSchema.Builder addDocumentSchemasBuilder()

The document schemas from the specified parent.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DocumentSchema.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDocumentSchemasResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDocumentSchemasResponse.Builder
Overrides

build()

public ListDocumentSchemasResponse build()
Returns
TypeDescription
ListDocumentSchemasResponse

buildPartial()

public ListDocumentSchemasResponse buildPartial()
Returns
TypeDescription
ListDocumentSchemasResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListDocumentSchemasResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDocumentSchemasResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDocumentSchemasResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDocumentSchemasResponse.Builder
Overrides

clone()

public ListDocumentSchemasResponse.Builder clone()
Returns
TypeDescription
ListDocumentSchemasResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDocumentSchemasResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDocumentSchemasResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDocumentSchemasResponse other)

public ListDocumentSchemasResponse.Builder mergeFrom(ListDocumentSchemasResponse other)
Parameter
NameDescription
otherListDocumentSchemasResponse
Returns
TypeDescription
ListDocumentSchemasResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDocumentSchemasResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDocumentSchemasResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDocumentSchemasResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDocumentSchemasResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDocumentSchemasResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDocumentSchema
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDocumentSchema.Builder
Returns
TypeDescription
ListDocumentSchemasResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDocumentSchemasResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDocumentSchemasResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDocumentSchemasResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDocumentSchemasResponse.Builder
Overrides