public static final class ListAnnotatedDatasetsResponse.Builder extends GeneratedMessageV3.Builder<ListAnnotatedDatasetsResponse.Builder> implements ListAnnotatedDatasetsResponseOrBuilder
Results of listing annotated datasets for a dataset.
Protobuf type google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllAnnotatedDatasets(Iterable<? extends AnnotatedDataset> values)
public ListAnnotatedDatasetsResponse.Builder addAllAnnotatedDatasets(Iterable<? extends AnnotatedDataset> values)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.AnnotatedDataset>
|
Returns
addAnnotatedDatasets(AnnotatedDataset value)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(AnnotatedDataset value)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Returns
addAnnotatedDatasets(AnnotatedDataset.Builder builderForValue)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(AnnotatedDataset.Builder builderForValue)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Returns
addAnnotatedDatasets(int index, AnnotatedDataset value)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(int index, AnnotatedDataset value)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameters
Returns
addAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameters
Returns
addAnnotatedDatasetsBuilder()
public AnnotatedDataset.Builder addAnnotatedDatasetsBuilder()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns
addAnnotatedDatasetsBuilder(int index)
public AnnotatedDataset.Builder addAnnotatedDatasetsBuilder(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotatedDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAnnotatedDatasetsResponse build()
Returns
buildPartial()
public ListAnnotatedDatasetsResponse buildPartial()
Returns
clear()
public ListAnnotatedDatasetsResponse.Builder clear()
Returns
Overrides
clearAnnotatedDatasets()
public ListAnnotatedDatasetsResponse.Builder clearAnnotatedDatasets()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAnnotatedDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListAnnotatedDatasetsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAnnotatedDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListAnnotatedDatasetsResponse.Builder clone()
Returns
Overrides
getAnnotatedDatasets(int index)
public AnnotatedDataset getAnnotatedDatasets(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Returns
getAnnotatedDatasetsBuilder(int index)
public AnnotatedDataset.Builder getAnnotatedDatasetsBuilder(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Returns
getAnnotatedDatasetsBuilderList()
public List<AnnotatedDataset.Builder> getAnnotatedDatasetsBuilderList()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns
getAnnotatedDatasetsCount()
public int getAnnotatedDatasetsCount()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns
getAnnotatedDatasetsList()
public List<AnnotatedDataset> getAnnotatedDatasetsList()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns
getAnnotatedDatasetsOrBuilder(int index)
public AnnotatedDatasetOrBuilder getAnnotatedDatasetsOrBuilder(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Returns
getAnnotatedDatasetsOrBuilderList()
public List<? extends AnnotatedDatasetOrBuilder> getAnnotatedDatasetsOrBuilderList()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.AnnotatedDatasetOrBuilder> | |
getDefaultInstanceForType()
public ListAnnotatedDatasetsResponse 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(ListAnnotatedDatasetsResponse other)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(ListAnnotatedDatasetsResponse other)
Parameter
Returns
public ListAnnotatedDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotatedDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAnnotatedDatasets(int index)
public ListAnnotatedDatasetsResponse.Builder removeAnnotatedDatasets(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter
Returns
setAnnotatedDatasets(int index, AnnotatedDataset value)
public ListAnnotatedDatasetsResponse.Builder setAnnotatedDatasets(int index, AnnotatedDataset value)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameters
Returns
setAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
public ListAnnotatedDatasetsResponse.Builder setAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotatedDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListAnnotatedDatasetsResponse.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 ListAnnotatedDatasetsResponse.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 ListAnnotatedDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotatedDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides