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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addDatasets(Dataset value)
public ListDatasetsResponse.Builder addDatasets(Dataset value)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter |
---|
Name | Description |
value | Dataset
|
addDatasets(Dataset.Builder builderForValue)
public ListDatasetsResponse.Builder addDatasets(Dataset.Builder builderForValue)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
addDatasets(int index, Dataset value)
public ListDatasetsResponse.Builder addDatasets(int index, Dataset value)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
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;
addDatasetsBuilder()
public Dataset.Builder addDatasetsBuilder()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
addDatasetsBuilder(int index)
public Dataset.Builder addDatasetsBuilder(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDatasetsResponse build()
buildPartial()
public ListDatasetsResponse buildPartial()
clear()
public ListDatasetsResponse.Builder clear()
Overrides
clearDatasets()
public ListDatasetsResponse.Builder clearDatasets()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDatasetsResponse.Builder clone()
Overrides
getDatasets(int index)
public Dataset getDatasets(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
getDatasetsBuilder(int index)
public Dataset.Builder getDatasetsBuilder(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
getDatasetsBuilderList()
public List<Dataset.Builder> getDatasetsBuilderList()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
getDatasetsCount()
public int getDatasetsCount()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Returns |
---|
Type | Description |
int | |
getDatasetsList()
public List<Dataset> getDatasetsList()
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
getDatasetsOrBuilder(int index)
public DatasetOrBuilder getDatasetsOrBuilder(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDatasetsResponse other)
public ListDatasetsResponse.Builder mergeFrom(ListDatasetsResponse other)
public ListDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDatasetsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDatasets(int index)
public ListDatasetsResponse.Builder removeDatasets(int index)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
setDatasets(int index, Dataset value)
public ListDatasetsResponse.Builder setDatasets(int index, Dataset value)
The datasets read.
repeated .google.cloud.automl.v1.Dataset datasets = 1;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides