Class ListAnnotationSpecSetsResponse.Builder (0.123.3)

public static final class ListAnnotationSpecSetsResponse.Builder extends GeneratedMessageV3.Builder<ListAnnotationSpecSetsResponse.Builder> implements ListAnnotationSpecSetsResponseOrBuilder

Results of listing annotation spec set under a project.

Protobuf type google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnnotationSpecSets(Iterable<? extends AnnotationSpecSet> values)

public ListAnnotationSpecSetsResponse.Builder addAllAnnotationSpecSets(Iterable<? extends AnnotationSpecSet> values)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet>
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

addAnnotationSpecSets(AnnotationSpecSet value)

public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(AnnotationSpecSet value)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
valueAnnotationSpecSet
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

addAnnotationSpecSets(AnnotationSpecSet.Builder builderForValue)

public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(AnnotationSpecSet.Builder builderForValue)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
builderForValueAnnotationSpecSet.Builder
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

addAnnotationSpecSets(int index, AnnotationSpecSet value)

public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(int index, AnnotationSpecSet value)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameters
NameDescription
indexint
valueAnnotationSpecSet
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

addAnnotationSpecSets(int index, AnnotationSpecSet.Builder builderForValue)

public ListAnnotationSpecSetsResponse.Builder addAnnotationSpecSets(int index, AnnotationSpecSet.Builder builderForValue)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameters
NameDescription
indexint
builderForValueAnnotationSpecSet.Builder
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

addAnnotationSpecSetsBuilder()

public AnnotationSpecSet.Builder addAnnotationSpecSetsBuilder()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
AnnotationSpecSet.Builder

addAnnotationSpecSetsBuilder(int index)

public AnnotationSpecSet.Builder addAnnotationSpecSetsBuilder(int index)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationSpecSet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAnnotationSpecSetsResponse build()
Returns
TypeDescription
ListAnnotationSpecSetsResponse

buildPartial()

public ListAnnotationSpecSetsResponse buildPartial()
Returns
TypeDescription
ListAnnotationSpecSetsResponse

clear()

public ListAnnotationSpecSetsResponse.Builder clear()
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder
Overrides

clearAnnotationSpecSets()

public ListAnnotationSpecSetsResponse.Builder clearAnnotationSpecSets()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAnnotationSpecSetsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAnnotationSpecSetsResponse.Builder clone()
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder
Overrides

getAnnotationSpecSets(int index)

public AnnotationSpecSet getAnnotationSpecSets(int index)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationSpecSet

getAnnotationSpecSetsBuilder(int index)

public AnnotationSpecSet.Builder getAnnotationSpecSetsBuilder(int index)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationSpecSet.Builder

getAnnotationSpecSetsBuilderList()

public List<AnnotationSpecSet.Builder> getAnnotationSpecSetsBuilderList()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
List<Builder>

getAnnotationSpecSetsCount()

public int getAnnotationSpecSetsCount()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
int

getAnnotationSpecSetsList()

public List<AnnotationSpecSet> getAnnotationSpecSetsList()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Returns
TypeDescription
List<AnnotationSpecSet>

getAnnotationSpecSetsOrBuilder(int index)

public AnnotationSpecSetOrBuilder getAnnotationSpecSetsOrBuilder(int index)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationSpecSetOrBuilder

getAnnotationSpecSetsOrBuilderList()

public List<? extends AnnotationSpecSetOrBuilder> getAnnotationSpecSetsOrBuilderList()

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

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

getDefaultInstanceForType()

public ListAnnotationSpecSetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAnnotationSpecSetsResponse

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(ListAnnotationSpecSetsResponse other)

public ListAnnotationSpecSetsResponse.Builder mergeFrom(ListAnnotationSpecSetsResponse other)
Parameter
NameDescription
otherListAnnotationSpecSetsResponse
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAnnotationSpecSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder
Overrides

removeAnnotationSpecSets(int index)

public ListAnnotationSpecSetsResponse.Builder removeAnnotationSpecSets(int index)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

setAnnotationSpecSets(int index, AnnotationSpecSet value)

public ListAnnotationSpecSetsResponse.Builder setAnnotationSpecSets(int index, AnnotationSpecSet value)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameters
NameDescription
indexint
valueAnnotationSpecSet
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

setAnnotationSpecSets(int index, AnnotationSpecSet.Builder builderForValue)

public ListAnnotationSpecSetsResponse.Builder setAnnotationSpecSets(int index, AnnotationSpecSet.Builder builderForValue)

The list of annotation spec sets.

repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;

Parameters
NameDescription
indexint
builderForValueAnnotationSpecSet.Builder
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAnnotationSpecSetsResponse.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
ListAnnotationSpecSetsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAnnotationSpecSetsResponse.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
ListAnnotationSpecSetsResponse.Builder

This builder for chaining.

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

public ListAnnotationSpecSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAnnotationSpecSetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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