Class ListTableSpecsResponse.Builder (2.27.0)

public static final class ListTableSpecsResponse.Builder extends GeneratedMessageV3.Builder<ListTableSpecsResponse.Builder> implements ListTableSpecsResponseOrBuilder

Response message for AutoMl.ListTableSpecs.

Protobuf type google.cloud.automl.v1beta1.ListTableSpecsResponse

Static Methods

getDescriptor()

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

Methods

addAllTableSpecs(Iterable<? extends TableSpec> values)

public ListTableSpecsResponse.Builder addAllTableSpecs(Iterable<? extends TableSpec> values)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.automl.v1beta1.TableSpec>
Returns
TypeDescription
ListTableSpecsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTableSpecs(TableSpec value)

public ListTableSpecsResponse.Builder addTableSpecs(TableSpec value)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
valueTableSpec
Returns
TypeDescription
ListTableSpecsResponse.Builder

addTableSpecs(TableSpec.Builder builderForValue)

public ListTableSpecsResponse.Builder addTableSpecs(TableSpec.Builder builderForValue)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
builderForValueTableSpec.Builder
Returns
TypeDescription
ListTableSpecsResponse.Builder

addTableSpecs(int index, TableSpec value)

public ListTableSpecsResponse.Builder addTableSpecs(int index, TableSpec value)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameters
NameDescription
indexint
valueTableSpec
Returns
TypeDescription
ListTableSpecsResponse.Builder

addTableSpecs(int index, TableSpec.Builder builderForValue)

public ListTableSpecsResponse.Builder addTableSpecs(int index, TableSpec.Builder builderForValue)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameters
NameDescription
indexint
builderForValueTableSpec.Builder
Returns
TypeDescription
ListTableSpecsResponse.Builder

addTableSpecsBuilder()

public TableSpec.Builder addTableSpecsBuilder()

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Returns
TypeDescription
TableSpec.Builder

addTableSpecsBuilder(int index)

public TableSpec.Builder addTableSpecsBuilder(int index)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableSpec.Builder

build()

public ListTableSpecsResponse build()
Returns
TypeDescription
ListTableSpecsResponse

buildPartial()

public ListTableSpecsResponse buildPartial()
Returns
TypeDescription
ListTableSpecsResponse

clear()

public ListTableSpecsResponse.Builder clear()
Returns
TypeDescription
ListTableSpecsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTableSpecsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTableSpecsResponse.Builder
Overrides

clearNextPageToken()

public ListTableSpecsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to ListTableSpecsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ListTableSpecsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableSpecs()

public ListTableSpecsResponse.Builder clearTableSpecs()

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Returns
TypeDescription
ListTableSpecsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTableSpecsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTableSpecsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to ListTableSpecsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass to ListTableSpecsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTableSpecs(int index)

public TableSpec getTableSpecs(int index)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableSpec

getTableSpecsBuilder(int index)

public TableSpec.Builder getTableSpecsBuilder(int index)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableSpec.Builder

getTableSpecsBuilderList()

public List<TableSpec.Builder> getTableSpecsBuilderList()

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Returns
TypeDescription
List<Builder>

getTableSpecsCount()

public int getTableSpecsCount()

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Returns
TypeDescription
int

getTableSpecsList()

public List<TableSpec> getTableSpecsList()

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Returns
TypeDescription
List<TableSpec>

getTableSpecsOrBuilder(int index)

public TableSpecOrBuilder getTableSpecsOrBuilder(int index)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableSpecOrBuilder

getTableSpecsOrBuilderList()

public List<? extends TableSpecOrBuilder> getTableSpecsOrBuilderList()

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.automl.v1beta1.TableSpecOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTableSpecsResponse other)

public ListTableSpecsResponse.Builder mergeFrom(ListTableSpecsResponse other)
Parameter
NameDescription
otherListTableSpecsResponse
Returns
TypeDescription
ListTableSpecsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTableSpecsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTableSpecsResponse.Builder
Overrides

removeTableSpecs(int index)

public ListTableSpecsResponse.Builder removeTableSpecs(int index)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTableSpecsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTableSpecsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass to ListTableSpecsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListTableSpecsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTableSpecsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to ListTableSpecsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTableSpecsResponse.Builder

This builder for chaining.

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

public ListTableSpecsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTableSpecsResponse.Builder
Overrides

setTableSpecs(int index, TableSpec value)

public ListTableSpecsResponse.Builder setTableSpecs(int index, TableSpec value)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameters
NameDescription
indexint
valueTableSpec
Returns
TypeDescription
ListTableSpecsResponse.Builder

setTableSpecs(int index, TableSpec.Builder builderForValue)

public ListTableSpecsResponse.Builder setTableSpecs(int index, TableSpec.Builder builderForValue)

The table specs read.

repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;

Parameters
NameDescription
indexint
builderForValueTableSpec.Builder
Returns
TypeDescription
ListTableSpecsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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