Class ListAnnotatedDatasetsResponse.Builder (0.166.0)

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
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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotatedDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ListAnnotatedDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAnnotatedDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
Overrides

clone()

public ListAnnotatedDatasetsResponse.Builder clone()
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
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
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
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAnnotatedDatasetsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotatedDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
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
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

setField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotatedDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
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
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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAnnotatedDatasetsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAnnotatedDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotatedDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAnnotatedDatasetsResponse.Builder
Overrides