Class ListDatasetsResponse.Builder (2.7.4)

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

Response message for DatasetService.ListDatasets.

Protobuf type google.cloud.aiplatform.v1.ListDatasetsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Dataset>
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
valueDataset
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
builderForValueDataset.Builder
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameters
NameDescription
indexint
valueDataset
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameters
NameDescription
indexint
builderForValueDataset.Builder
Returns
TypeDescription
ListDatasetsResponse.Builder

addDatasetsBuilder()

public Dataset.Builder addDatasetsBuilder()

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

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

Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Dataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDatasetsResponse build()
Returns
TypeDescription
ListDatasetsResponse

buildPartial()

public ListDatasetsResponse buildPartial()
Returns
TypeDescription
ListDatasetsResponse

clear()

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

clearDatasets()

public ListDatasetsResponse.Builder clearDatasets()

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

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

Returns
TypeDescription
ListDatasetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDatasetsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ListDatasetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListDatasetsResponse.Builder clone()
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Dataset.Builder

getDatasetsBuilderList()

public List<Dataset.Builder> getDatasetsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getDatasetsCount()

public int getDatasetsCount()

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

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

Returns
TypeDescription
int

getDatasetsList()

public List<Dataset> getDatasetsList()

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

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

Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatasetOrBuilder

getDatasetsOrBuilderList()

public List<? extends DatasetOrBuilder> getDatasetsOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.DatasetOrBuilder>

getDefaultInstanceForType()

public ListDatasetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDatasetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

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

public ListDatasetsResponse.Builder mergeFrom(ListDatasetsResponse other)
Parameter
NameDescription
otherListDatasetsResponse
Returns
TypeDescription
ListDatasetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameters
NameDescription
indexint
valueDataset
Returns
TypeDescription
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.v1.Dataset datasets = 1;

Parameters
NameDescription
indexint
builderForValueDataset.Builder
Returns
TypeDescription
ListDatasetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDatasetsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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