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
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
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addAnnotationSpecSetsBuilder()
public AnnotationSpecSet.Builder addAnnotationSpecSetsBuilder()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotationSpecSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAnnotationSpecSetsResponse build()
Returns
buildPartial()
public ListAnnotationSpecSetsResponse buildPartial()
Returns
clear()
public ListAnnotationSpecSetsResponse.Builder clear()
Returns
Overrides
clearAnnotationSpecSets()
public ListAnnotationSpecSetsResponse.Builder clearAnnotationSpecSets()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAnnotationSpecSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListAnnotationSpecSetsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAnnotationSpecSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListAnnotationSpecSetsResponse.Builder clone()
Returns
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
Returns
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
Returns
getAnnotationSpecSetsBuilderList()
public List<AnnotationSpecSet.Builder> getAnnotationSpecSetsBuilderList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
getAnnotationSpecSetsCount()
public int getAnnotationSpecSetsCount()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
getAnnotationSpecSetsList()
public List<AnnotationSpecSet> getAnnotationSpecSetsList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
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
Returns
getAnnotationSpecSetsOrBuilderList()
public List<? extends AnnotationSpecSetOrBuilder> getAnnotationSpecSetsOrBuilderList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.AnnotationSpecSetOrBuilder> | |
getDefaultInstanceForType()
public ListAnnotationSpecSetsResponse 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(ListAnnotationSpecSetsResponse other)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(ListAnnotationSpecSetsResponse other)
Parameter
Returns
public ListAnnotationSpecSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotationSpecSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotationSpecSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListAnnotationSpecSetsResponse.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 ListAnnotationSpecSetsResponse.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 ListAnnotationSpecSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotationSpecSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides