Class ListColumnSpecsResponse.Builder (2.46.0)

public static final class ListColumnSpecsResponse.Builder extends GeneratedMessageV3.Builder<ListColumnSpecsResponse.Builder> implements ListColumnSpecsResponseOrBuilder

Response message for AutoMl.ListColumnSpecs.

Protobuf type google.cloud.automl.v1beta1.ListColumnSpecsResponse

Static Methods

getDescriptor()

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

Methods

addAllColumnSpecs(Iterable<? extends ColumnSpec> values)

public ListColumnSpecsResponse.Builder addAllColumnSpecs(Iterable<? extends ColumnSpec> values)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.automl.v1beta1.ColumnSpec>
Returns
Type Description
ListColumnSpecsResponse.Builder

addColumnSpecs(ColumnSpec value)

public ListColumnSpecsResponse.Builder addColumnSpecs(ColumnSpec value)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
value ColumnSpec
Returns
Type Description
ListColumnSpecsResponse.Builder

addColumnSpecs(ColumnSpec.Builder builderForValue)

public ListColumnSpecsResponse.Builder addColumnSpecs(ColumnSpec.Builder builderForValue)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
builderForValue ColumnSpec.Builder
Returns
Type Description
ListColumnSpecsResponse.Builder

addColumnSpecs(int index, ColumnSpec value)

public ListColumnSpecsResponse.Builder addColumnSpecs(int index, ColumnSpec value)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameters
Name Description
index int
value ColumnSpec
Returns
Type Description
ListColumnSpecsResponse.Builder

addColumnSpecs(int index, ColumnSpec.Builder builderForValue)

public ListColumnSpecsResponse.Builder addColumnSpecs(int index, ColumnSpec.Builder builderForValue)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameters
Name Description
index int
builderForValue ColumnSpec.Builder
Returns
Type Description
ListColumnSpecsResponse.Builder

addColumnSpecsBuilder()

public ColumnSpec.Builder addColumnSpecsBuilder()

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Returns
Type Description
ColumnSpec.Builder

addColumnSpecsBuilder(int index)

public ColumnSpec.Builder addColumnSpecsBuilder(int index)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnSpec.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListColumnSpecsResponse build()
Returns
Type Description
ListColumnSpecsResponse

buildPartial()

public ListColumnSpecsResponse buildPartial()
Returns
Type Description
ListColumnSpecsResponse

clear()

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

clearColumnSpecs()

public ListColumnSpecsResponse.Builder clearColumnSpecs()

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Returns
Type Description
ListColumnSpecsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListColumnSpecsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListColumnSpecsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getColumnSpecs(int index)

public ColumnSpec getColumnSpecs(int index)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnSpec

getColumnSpecsBuilder(int index)

public ColumnSpec.Builder getColumnSpecsBuilder(int index)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnSpec.Builder

getColumnSpecsBuilderList()

public List<ColumnSpec.Builder> getColumnSpecsBuilderList()

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Returns
Type Description
List<Builder>

getColumnSpecsCount()

public int getColumnSpecsCount()

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Returns
Type Description
int

getColumnSpecsList()

public List<ColumnSpec> getColumnSpecsList()

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Returns
Type Description
List<ColumnSpec>

getColumnSpecsOrBuilder(int index)

public ColumnSpecOrBuilder getColumnSpecsOrBuilder(int index)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnSpecOrBuilder

getColumnSpecsOrBuilderList()

public List<? extends ColumnSpecOrBuilder> getColumnSpecsOrBuilderList()

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Returns
Type Description
List<? extends com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder>

getDefaultInstanceForType()

public ListColumnSpecsResponse getDefaultInstanceForType()
Returns
Type Description
ListColumnSpecsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeColumnSpecs(int index)

public ListColumnSpecsResponse.Builder removeColumnSpecs(int index)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListColumnSpecsResponse.Builder

setColumnSpecs(int index, ColumnSpec value)

public ListColumnSpecsResponse.Builder setColumnSpecs(int index, ColumnSpec value)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameters
Name Description
index int
value ColumnSpec
Returns
Type Description
ListColumnSpecsResponse.Builder

setColumnSpecs(int index, ColumnSpec.Builder builderForValue)

public ListColumnSpecsResponse.Builder setColumnSpecs(int index, ColumnSpec.Builder builderForValue)

The column specs read.

repeated .google.cloud.automl.v1beta1.ColumnSpec column_specs = 1;

Parameters
Name Description
index int
builderForValue ColumnSpec.Builder
Returns
Type Description
ListColumnSpecsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListColumnSpecsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListColumnSpecsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListColumnSpecsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListColumnSpecsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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