Class ListDataSchemasResponse.Builder (0.11.0)

public static final class ListDataSchemasResponse.Builder extends GeneratedMessageV3.Builder<ListDataSchemasResponse.Builder> implements ListDataSchemasResponseOrBuilder

Response message for ListDataSchemas.

Protobuf type google.cloud.visionai.v1.ListDataSchemasResponse

Static Methods

getDescriptor()

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

Methods

addAllDataSchemas(Iterable<? extends DataSchema> values)

public ListDataSchemasResponse.Builder addAllDataSchemas(Iterable<? extends DataSchema> values)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.DataSchema>
Returns
Type Description
ListDataSchemasResponse.Builder

addDataSchemas(DataSchema value)

public ListDataSchemasResponse.Builder addDataSchemas(DataSchema value)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
value DataSchema
Returns
Type Description
ListDataSchemasResponse.Builder

addDataSchemas(DataSchema.Builder builderForValue)

public ListDataSchemasResponse.Builder addDataSchemas(DataSchema.Builder builderForValue)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
builderForValue DataSchema.Builder
Returns
Type Description
ListDataSchemasResponse.Builder

addDataSchemas(int index, DataSchema value)

public ListDataSchemasResponse.Builder addDataSchemas(int index, DataSchema value)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameters
Name Description
index int
value DataSchema
Returns
Type Description
ListDataSchemasResponse.Builder

addDataSchemas(int index, DataSchema.Builder builderForValue)

public ListDataSchemasResponse.Builder addDataSchemas(int index, DataSchema.Builder builderForValue)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameters
Name Description
index int
builderForValue DataSchema.Builder
Returns
Type Description
ListDataSchemasResponse.Builder

addDataSchemasBuilder()

public DataSchema.Builder addDataSchemasBuilder()

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Returns
Type Description
DataSchema.Builder

addDataSchemasBuilder(int index)

public DataSchema.Builder addDataSchemasBuilder(int index)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSchema.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataSchemasResponse build()
Returns
Type Description
ListDataSchemasResponse

buildPartial()

public ListDataSchemasResponse buildPartial()
Returns
Type Description
ListDataSchemasResponse

clear()

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

clearDataSchemas()

public ListDataSchemasResponse.Builder clearDataSchemas()

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Returns
Type Description
ListDataSchemasResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDataSchemasResponse.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
ListDataSchemasResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataSchemas(int index)

public DataSchema getDataSchemas(int index)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSchema

getDataSchemasBuilder(int index)

public DataSchema.Builder getDataSchemasBuilder(int index)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSchema.Builder

getDataSchemasBuilderList()

public List<DataSchema.Builder> getDataSchemasBuilderList()

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Returns
Type Description
List<Builder>

getDataSchemasCount()

public int getDataSchemasCount()

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Returns
Type Description
int

getDataSchemasList()

public List<DataSchema> getDataSchemasList()

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Returns
Type Description
List<DataSchema>

getDataSchemasOrBuilder(int index)

public DataSchemaOrBuilder getDataSchemasOrBuilder(int index)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSchemaOrBuilder

getDataSchemasOrBuilderList()

public List<? extends DataSchemaOrBuilder> getDataSchemasOrBuilderList()

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.DataSchemaOrBuilder>

getDefaultInstanceForType()

public ListDataSchemasResponse getDefaultInstanceForType()
Returns
Type Description
ListDataSchemasResponse

getDescriptorForType()

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

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(ListDataSchemasResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataSchemas(int index)

public ListDataSchemasResponse.Builder removeDataSchemas(int index)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataSchemasResponse.Builder

setDataSchemas(int index, DataSchema value)

public ListDataSchemasResponse.Builder setDataSchemas(int index, DataSchema value)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameters
Name Description
index int
value DataSchema
Returns
Type Description
ListDataSchemasResponse.Builder

setDataSchemas(int index, DataSchema.Builder builderForValue)

public ListDataSchemasResponse.Builder setDataSchemas(int index, DataSchema.Builder builderForValue)

The data schemas from the specified corpus.

repeated .google.cloud.visionai.v1.DataSchema data_schemas = 1;

Parameters
Name Description
index int
builderForValue DataSchema.Builder
Returns
Type Description
ListDataSchemasResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDataSchemasResponse.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
ListDataSchemasResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDataSchemasResponse.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
ListDataSchemasResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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