Class ListColumnSpecsResponse.Builder (2.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.automl.v1beta1.ColumnSpec>
Returns
TypeDescription
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
NameDescription
valueColumnSpec
Returns
TypeDescription
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
NameDescription
builderForValueColumnSpec.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueColumnSpec
Returns
TypeDescription
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
NameDescription
indexint
builderForValueColumnSpec.Builder
Returns
TypeDescription
ListColumnSpecsResponse.Builder

addColumnSpecsBuilder()

public ColumnSpec.Builder addColumnSpecsBuilder()

The column specs read.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListColumnSpecsResponse build()
Returns
TypeDescription
ListColumnSpecsResponse

buildPartial()

public ListColumnSpecsResponse buildPartial()
Returns
TypeDescription
ListColumnSpecsResponse

clear()

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

clearColumnSpecs()

public ListColumnSpecsResponse.Builder clearColumnSpecs()

The column specs read.

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

Returns
TypeDescription
ListColumnSpecsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListColumnSpecsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ColumnSpec

getColumnSpecsBuilder(int index)

public ColumnSpec.Builder getColumnSpecsBuilder(int index)

The column specs read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ColumnSpec.Builder

getColumnSpecsBuilderList()

public List<ColumnSpec.Builder> getColumnSpecsBuilderList()

The column specs read.

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

Returns
TypeDescription
List<Builder>

getColumnSpecsCount()

public int getColumnSpecsCount()

The column specs read.

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

Returns
TypeDescription
int

getColumnSpecsList()

public List<ColumnSpec> getColumnSpecsList()

The column specs read.

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

Returns
TypeDescription
List<ColumnSpec>

getColumnSpecsOrBuilder(int index)

public ColumnSpecOrBuilder getColumnSpecsOrBuilder(int index)

The column specs read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ColumnSpecOrBuilder

getColumnSpecsOrBuilderList()

public List<? extends ColumnSpecOrBuilder> getColumnSpecsOrBuilderList()

The column specs read.

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

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

getDefaultInstanceForType()

public ListColumnSpecsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListColumnSpecsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(ListColumnSpecsResponse other)

public ListColumnSpecsResponse.Builder mergeFrom(ListColumnSpecsResponse other)
Parameter
NameDescription
otherListColumnSpecsResponse
Returns
TypeDescription
ListColumnSpecsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListColumnSpecsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueColumnSpec
Returns
TypeDescription
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
NameDescription
indexint
builderForValueColumnSpec.Builder
Returns
TypeDescription
ListColumnSpecsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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