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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addAnnotationSpecSetsBuilder()
public AnnotationSpecSet.Builder addAnnotationSpecSetsBuilder()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotationSpecSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAnnotationSpecSetsResponse build()
buildPartial()
public ListAnnotationSpecSetsResponse buildPartial()
clear()
public ListAnnotationSpecSetsResponse.Builder clear()
Overrides
clearAnnotationSpecSets()
public ListAnnotationSpecSetsResponse.Builder clearAnnotationSpecSets()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAnnotationSpecSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAnnotationSpecSetsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAnnotationSpecSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAnnotationSpecSetsResponse.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getAnnotationSpecSetsBuilderList()
public List<AnnotationSpecSet.Builder> getAnnotationSpecSetsBuilderList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
getAnnotationSpecSetsCount()
public int getAnnotationSpecSetsCount()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
Returns |
---|
Type | Description |
int | |
getAnnotationSpecSetsList()
public List<AnnotationSpecSet> getAnnotationSpecSetsList()
The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAnnotationSpecSetsResponse other)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(ListAnnotationSpecSetsResponse other)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotationSpecSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotationSpecSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAnnotationSpecSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotationSpecSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides