public static final class ListDatasetsResponse.Builder extends GeneratedMessageV3.Builder<ListDatasetsResponse.Builder> implements ListDatasetsResponseOrBuilder
Response message for AutoMl.ListDatasets.
Protobuf type google.cloud.automl.v1.ListDatasetsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDatasets(Iterable<? extends Dataset> values)
public ListDatasetsResponse.Builder addAllDatasets(Iterable<? extends Dataset> values)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1.Dataset>
|
Returns
addDatasets(Dataset value)
public ListDatasetsResponse.Builder addDatasets(Dataset value)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Returns
addDatasets(Dataset.Builder builderForValue)
public ListDatasetsResponse.Builder addDatasets(Dataset.Builder builderForValue)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Returns
addDatasets(int index, Dataset value)
public ListDatasetsResponse.Builder addDatasets(int index, Dataset value)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameters
Returns
addDatasets(int index, Dataset.Builder builderForValue)
public ListDatasetsResponse.Builder addDatasets(int index, Dataset.Builder builderForValue)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameters
Returns
addDatasetsBuilder()
public Dataset.Builder addDatasetsBuilder()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Returns
addDatasetsBuilder(int index)
public Dataset.Builder addDatasetsBuilder(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDatasetsResponse build()
Returns
buildPartial()
public ListDatasetsResponse buildPartial()
Returns
clear()
public ListDatasetsResponse.Builder clear()
Returns
Overrides
clearDatasets()
public ListDatasetsResponse.Builder clearDatasets()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDatasetsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
Pass to ListDatasetsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDatasetsResponse.Builder clone()
Returns
Overrides
getDatasets(int index)
public Dataset getDatasets(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Returns
getDatasetsBuilder(int index)
public Dataset.Builder getDatasetsBuilder(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Returns
getDatasetsBuilderList()
public List<Dataset.Builder> getDatasetsBuilderList()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Returns
getDatasetsCount()
public int getDatasetsCount()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Returns
getDatasetsList()
public List<Dataset> getDatasetsList()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Returns
getDatasetsOrBuilder(int index)
public DatasetOrBuilder getDatasetsOrBuilder(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Returns
getDatasetsOrBuilderList()
public List<? extends DatasetOrBuilder> getDatasetsOrBuilderList()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1.DatasetOrBuilder> | |
getDefaultInstanceForType()
public ListDatasetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
Pass to ListDatasetsRequest.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 ListDatasetsRequest.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDatasetsResponse other)
public ListDatasetsResponse.Builder mergeFrom(ListDatasetsResponse other)
Parameter
Returns
public ListDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDatasetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDatasets(int index)
public ListDatasetsResponse.Builder removeDatasets(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter
Returns
setDatasets(int index, Dataset value)
public ListDatasetsResponse.Builder setDatasets(int index, Dataset value)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameters
Returns
setDatasets(int index, Dataset.Builder builderForValue)
public ListDatasetsResponse.Builder setDatasets(int index, Dataset.Builder builderForValue)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDatasetsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
Pass to ListDatasetsRequest.page_token to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListDatasetsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
Pass to ListDatasetsRequest.page_token to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides