public static final class ListDatasetsResponse.Builder extends GeneratedMessageV3.Builder<ListDatasetsResponse.Builder> implements ListDatasetsResponseOrBuilder
Results of listing datasets within a project.
Protobuf type google.cloud.datalabeling.v1beta1.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()
Returns
Methods
addAllDatasets(Iterable<? extends Dataset> values)
public ListDatasetsResponse.Builder addAllDatasets(Iterable<? extends Dataset> values)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.Dataset>
|
Returns
addDatasets(Dataset value)
public ListDatasetsResponse.Builder addDatasets(Dataset value)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameter
Returns
addDatasets(Dataset.Builder builderForValue)
public ListDatasetsResponse.Builder addDatasets(Dataset.Builder builderForValue)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameter
Returns
addDatasets(int index, Dataset value)
public ListDatasetsResponse.Builder addDatasets(int index, Dataset value)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameters
Returns
addDatasets(int index, Dataset.Builder builderForValue)
public ListDatasetsResponse.Builder addDatasets(int index, Dataset.Builder builderForValue)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameters
Returns
addDatasetsBuilder()
public Dataset.Builder addDatasetsBuilder()
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Returns
addDatasetsBuilder(int index)
public Dataset.Builder addDatasetsBuilder(int index)
The list of datasets to return.
repeated .google.cloud.datalabeling.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 list of datasets to return.
repeated .google.cloud.datalabeling.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.
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 list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameter
Returns
getDatasetsBuilder(int index)
public Dataset.Builder getDatasetsBuilder(int index)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameter
Returns
getDatasetsBuilderList()
public List<Dataset.Builder> getDatasetsBuilderList()
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Returns
getDatasetsCount()
public int getDatasetsCount()
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Returns
getDatasetsList()
public List<Dataset> getDatasetsList()
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Returns
getDatasetsOrBuilder(int index)
public DatasetOrBuilder getDatasetsOrBuilder(int index)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameter
Returns
getDatasetsOrBuilderList()
public List<? extends DatasetOrBuilder> getDatasetsOrBuilderList()
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.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.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results.
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 list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameter
Returns
setDatasets(int index, Dataset value)
public ListDatasetsResponse.Builder setDatasets(int index, Dataset value)
The list of datasets to return.
repeated .google.cloud.datalabeling.v1beta1.Dataset datasets = 1;
Parameters
Returns
setDatasets(int index, Dataset.Builder builderForValue)
public ListDatasetsResponse.Builder setDatasets(int index, Dataset.Builder builderForValue)
The list of datasets to return.
repeated .google.cloud.datalabeling.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.
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.
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