Send feedback
Class ListDatasetsResponse.Builder (2.3.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.6 keyboard_arrow_down
public static final class ListDatasetsResponse . Builder extends GeneratedMessageV3 . Builder<ListDatasetsResponse . Builder > implements ListDatasetsResponseOrBuilder
Response message for AutoMl.ListDatasets .
Protobuf type google.cloud.automl.v1beta1.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.v1beta1.Dataset datasets = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.automl.v1beta1.Dataset >
Returns
addDatasets(Dataset value)
public ListDatasetsResponse . Builder addDatasets ( Dataset value )
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Parameter
Returns
addDatasets(Dataset.Builder builderForValue)
public ListDatasetsResponse . Builder addDatasets ( Dataset . Builder builderForValue )
The datasets read.
repeated .google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.Dataset datasets = 1;
Parameters
Returns
addDatasetsBuilder()
public Dataset . Builder addDatasetsBuilder ()
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Returns
addDatasetsBuilder(int index)
public Dataset . Builder addDatasetsBuilder ( int index )
The datasets read.
repeated .google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.Dataset datasets = 1;
Parameter
Returns
getDatasetsBuilder(int index)
public Dataset . Builder getDatasetsBuilder ( int index )
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Parameter
Returns
getDatasetsBuilderList()
public List<Dataset . Builder > getDatasetsBuilderList ()
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Returns
getDatasetsCount()
public int getDatasetsCount ()
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Returns
getDatasetsList()
public List<Dataset> getDatasetsList ()
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Returns
getDatasetsOrBuilder(int index)
public DatasetOrBuilder getDatasetsOrBuilder ( int index )
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Parameter
Returns
getDatasetsOrBuilderList()
public List <? extends DatasetOrBuilder > getDatasetsOrBuilderList ()
The datasets read.
repeated .google.cloud.automl.v1beta1.Dataset datasets = 1;
Returns
Type Description List <? extends com.google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]