public static final class ListAnnotatedDatasetsResponse.Builder extends GeneratedMessage.Builder<ListAnnotatedDatasetsResponse.Builder> implements ListAnnotatedDatasetsResponseOrBuilderResults of listing annotated datasets for a dataset.
Protobuf type google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAnnotatedDatasetsResponse.BuilderImplements
ListAnnotatedDatasetsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
AnnotatedDataset |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
AnnotatedDataset.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
AnnotatedDataset |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AnnotatedDataset.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
addAnnotatedDatasetsBuilder()
public AnnotatedDataset.Builder addAnnotatedDatasetsBuilder()The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
| Returns | |
|---|---|
| Type | Description |
AnnotatedDataset.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotatedDataset.Builder |
|
build()
public ListAnnotatedDatasetsResponse build()| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse |
|
buildPartial()
public ListAnnotatedDatasetsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse |
|
clear()
public ListAnnotatedDatasetsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
clearAnnotatedDatasets()
public ListAnnotatedDatasetsResponse.Builder clearAnnotatedDatasets()The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
clearNextPageToken()
public ListAnnotatedDatasetsResponse.Builder clearNextPageToken()A token to retrieve next page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotatedDataset |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotatedDataset.Builder |
|
getAnnotatedDatasetsBuilderList()
public List<AnnotatedDataset.Builder> getAnnotatedDatasetsBuilderList()The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAnnotatedDatasetsCount()
public int getAnnotatedDatasetsCount()The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAnnotatedDatasetsList()
public List<AnnotatedDataset> getAnnotatedDatasetsList()The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
| Returns | |
|---|---|
| Type | Description |
List<AnnotatedDataset> |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotatedDatasetOrBuilder |
|
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 | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListAnnotatedDatasetsResponse other)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(ListAnnotatedDatasetsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAnnotatedDatasetsResponse |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
AnnotatedDataset |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AnnotatedDataset.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
|
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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAnnotatedDatasetsResponse.Builder |
This builder for chaining. |