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
Methods
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
public ListDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListDatasetsResponse build()
Returns
public ListDatasetsResponse buildPartial()
Returns
public ListDatasetsResponse.Builder clear()
Returns
Overrides
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
public ListDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDatasetsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;
Returns
public ListDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListDatasetsResponse.Builder clone()
Returns
Overrides
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
Returns
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
Returns
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
public int getDatasetsCount()
A list of Datasets that matches the specified filter in the request.
repeated .google.cloud.aiplatform.v1beta1.Dataset datasets = 1;
Returns
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
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
Returns
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> | |
public ListDatasetsResponse getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListDatasetsResponse.Builder mergeFrom(ListDatasetsResponse other)
Parameter
Returns
public ListDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListDatasetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
public ListDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
public ListDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides