Class ListDatasetsResponse.Builder (3.49.0)

public static final class ListDatasetsResponse.Builder extends GeneratedMessageV3.Builder<ListDatasetsResponse.Builder> implements ListDatasetsResponseOrBuilder

Response message for DatasetService.ListDatasets.

Protobuf type google.cloud.aiplatform.v1beta1.ListDatasetsResponse

Static Methods

getDescriptor()

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

Methods

addAllDatasets(Iterable<? extends Dataset> values)

public ListDatasetsResponse.Builder addAllDatasets(Iterable<? extends Dataset> values)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Dataset>
Returns
Type Description
ListDatasetsResponse.Builder

addDatasets(Dataset value)

public ListDatasetsResponse.Builder addDatasets(Dataset value)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
value Dataset
Returns
Type Description
ListDatasetsResponse.Builder

addDatasets(Dataset.Builder builderForValue)

public ListDatasetsResponse.Builder addDatasets(Dataset.Builder builderForValue)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
builderForValue Dataset.Builder
Returns
Type Description
ListDatasetsResponse.Builder

addDatasets(int index, Dataset value)

public ListDatasetsResponse.Builder addDatasets(int index, Dataset value)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameters
Name Description
index int
value Dataset
Returns
Type Description
ListDatasetsResponse.Builder

addDatasets(int index, Dataset.Builder builderForValue)

public ListDatasetsResponse.Builder addDatasets(int index, Dataset.Builder builderForValue)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameters
Name Description
index int
builderForValue Dataset.Builder
Returns
Type Description
ListDatasetsResponse.Builder

addDatasetsBuilder()

public Dataset.Builder addDatasetsBuilder()

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Returns
Type Description
Dataset.Builder

addDatasetsBuilder(int index)

public Dataset.Builder addDatasetsBuilder(int index)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
index int
Returns
Type Description
Dataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDatasetsResponse build()
Returns
Type Description
ListDatasetsResponse

buildPartial()

public ListDatasetsResponse buildPartial()
Returns
Type Description
ListDatasetsResponse

clear()

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

clearDatasets()

public ListDatasetsResponse.Builder clearDatasets()

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Returns
Type Description
ListDatasetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDatasetsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
ListDatasetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatasets(int index)

public Dataset getDatasets(int index)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
index int
Returns
Type Description
Dataset

getDatasetsBuilder(int index)

public Dataset.Builder getDatasetsBuilder(int index)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
index int
Returns
Type Description
Dataset.Builder

getDatasetsBuilderList()

public List<Dataset.Builder> getDatasetsBuilderList()

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Returns
Type Description
List<Builder>

getDatasetsCount()

public int getDatasetsCount()

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Returns
Type Description
int

getDatasetsList()

public List<Dataset> getDatasetsList()

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Returns
Type Description
List<Dataset>

getDatasetsOrBuilder(int index)

public DatasetOrBuilder getDatasetsOrBuilder(int index)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
index int
Returns
Type Description
DatasetOrBuilder

getDatasetsOrBuilderList()

public List<? extends DatasetOrBuilder> getDatasetsOrBuilderList()

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.DatasetOrBuilder>

getDefaultInstanceForType()

public ListDatasetsResponse getDefaultInstanceForType()
Returns
Type Description
ListDatasetsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDatasets(int index)

public ListDatasetsResponse.Builder removeDatasets(int index)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDatasetsResponse.Builder

setDatasets(int index, Dataset value)

public ListDatasetsResponse.Builder setDatasets(int index, Dataset value)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameters
Name Description
index int
value Dataset
Returns
Type Description
ListDatasetsResponse.Builder

setDatasets(int index, Dataset.Builder builderForValue)

public ListDatasetsResponse.Builder setDatasets(int index, Dataset.Builder builderForValue)

A list of Datasets that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;

Parameters
Name Description
index int
builderForValue Dataset.Builder
Returns
Type Description
ListDatasetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDatasetsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDatasetsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDatasetsResponse.Builder setNextPageTokenBytes(ByteString value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDatasetsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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