public static final class ListAnnotationSpecSetsResponse.Builder extends GeneratedMessage.Builder<ListAnnotationSpecSetsResponse.Builder> implements ListAnnotationSpecSetsResponseOrBuilderResults of listing annotation spec set under a project.
Protobuf type google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAnnotationSpecSetsResponse.BuilderImplements
ListAnnotationSpecSetsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
AnnotationSpecSet |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
AnnotationSpecSet.Builder |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
value |
AnnotationSpecSet |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AnnotationSpecSet.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
|
addAnnotationSpecSetsBuilder()
public AnnotationSpecSet.Builder addAnnotationSpecSetsBuilder()The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotationSpecSet.Builder |
|
build()
public ListAnnotationSpecSetsResponse build()| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse |
|
buildPartial()
public ListAnnotationSpecSetsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse |
|
clear()
public ListAnnotationSpecSetsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
|
clearAnnotationSpecSets()
public ListAnnotationSpecSetsResponse.Builder clearAnnotationSpecSets()The list of annotation spec sets.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_sets = 1;
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
|
clearNextPageToken()
public ListAnnotationSpecSetsResponse.Builder clearNextPageToken()A token to retrieve next page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotationSpecSetOrBuilder |
|
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 | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListAnnotationSpecSetsResponse other)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(ListAnnotationSpecSetsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAnnotationSpecSetsResponse |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAnnotationSpecSetsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
value |
AnnotationSpecSet |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AnnotationSpecSet.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
|
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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationSpecSetsResponse.Builder |
This builder for chaining. |