Class ListAnnotatedDatasetsResponse.Builder (0.143.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.AnnotatedDataset>
Returns
TypeDescription
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
NameDescription
valueAnnotatedDataset
Returns
TypeDescription
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
NameDescription
builderForValueAnnotatedDataset.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAnnotatedDataset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnnotatedDataset.Builder
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder

addAnnotatedDatasetsBuilder()

public AnnotatedDataset.Builder addAnnotatedDatasetsBuilder()

The list of annotated datasets to return.

repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AnnotatedDataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotatedDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder
Overrides

build()

public ListAnnotatedDatasetsResponse build()
Returns
TypeDescription
ListAnnotatedDatasetsResponse

buildPartial()

public ListAnnotatedDatasetsResponse buildPartial()
Returns
TypeDescription
ListAnnotatedDatasetsResponse

clear()

public ListAnnotatedDatasetsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListAnnotatedDatasetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAnnotatedDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder
Overrides

clearNextPageToken()

public ListAnnotatedDatasetsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAnnotatedDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder
Overrides

clone()

public ListAnnotatedDatasetsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getAnnotatedDatasetsCount()

public int getAnnotatedDatasetsCount()

The list of annotated datasets to return.

repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;

Returns
TypeDescription
int

getAnnotatedDatasetsList()

public List<AnnotatedDataset> getAnnotatedDatasetsList()

The list of annotated datasets to return.

repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AnnotatedDatasetOrBuilder

getAnnotatedDatasetsOrBuilderList()

public List<? extends AnnotatedDatasetOrBuilder> getAnnotatedDatasetsOrBuilderList()

The list of annotated datasets to return.

repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.AnnotatedDatasetOrBuilder>

getDefaultInstanceForType()

public ListAnnotatedDatasetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAnnotatedDatasetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAnnotatedDatasetsResponse other)

public ListAnnotatedDatasetsResponse.Builder mergeFrom(ListAnnotatedDatasetsResponse other)
Parameter
NameDescription
otherListAnnotatedDatasetsResponse
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAnnotatedDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListAnnotatedDatasetsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotatedDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAnnotatedDataset
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAnnotatedDataset.Builder
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAnnotatedDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotatedDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAnnotatedDatasetsResponse.Builder
Overrides