public static final class ListAnnotationsResponse.Builder extends GeneratedMessage.Builder<ListAnnotationsResponse.Builder> implements ListAnnotationsResponseOrBuilderRequest message for ListAnnotations API.
Protobuf type google.cloud.visionai.v1.ListAnnotationsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAnnotationsResponse.BuilderImplements
ListAnnotationsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAnnotations(Iterable<? extends Annotation> values)
public ListAnnotationsResponse.Builder addAllAnnotations(Iterable<? extends Annotation> values)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.Annotation> |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
addAnnotations(Annotation value)
public ListAnnotationsResponse.Builder addAnnotations(Annotation value)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Annotation |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
addAnnotations(Annotation.Builder builderForValue)
public ListAnnotationsResponse.Builder addAnnotations(Annotation.Builder builderForValue)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Annotation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
addAnnotations(int index, Annotation value)
public ListAnnotationsResponse.Builder addAnnotations(int index, Annotation value)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Annotation |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
addAnnotations(int index, Annotation.Builder builderForValue)
public ListAnnotationsResponse.Builder addAnnotations(int index, Annotation.Builder builderForValue)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Annotation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
addAnnotationsBuilder()
public Annotation.Builder addAnnotationsBuilder()The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Returns | |
|---|---|
| Type | Description |
Annotation.Builder |
|
addAnnotationsBuilder(int index)
public Annotation.Builder addAnnotationsBuilder(int index)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Annotation.Builder |
|
build()
public ListAnnotationsResponse build()| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse |
|
buildPartial()
public ListAnnotationsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse |
|
clear()
public ListAnnotationsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
clearAnnotations()
public ListAnnotationsResponse.Builder clearAnnotations()The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
clearNextPageToken()
public ListAnnotationsResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
This builder for chaining. |
getAnnotations(int index)
public Annotation getAnnotations(int index)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Annotation |
|
getAnnotationsBuilder(int index)
public Annotation.Builder getAnnotationsBuilder(int index)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Annotation.Builder |
|
getAnnotationsBuilderList()
public List<Annotation.Builder> getAnnotationsBuilderList()The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAnnotationsCount()
public int getAnnotationsCount()The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAnnotationsList()
public List<Annotation> getAnnotationsList()The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Annotation> |
|
getAnnotationsOrBuilder(int index)
public AnnotationOrBuilder getAnnotationsOrBuilder(int index)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotationOrBuilder |
|
getAnnotationsOrBuilderList()
public List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.visionai.v1.AnnotationOrBuilder> |
|
getDefaultInstanceForType()
public ListAnnotationsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
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(ListAnnotationsResponse other)
public ListAnnotationsResponse.Builder mergeFrom(ListAnnotationsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAnnotationsResponse |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAnnotationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAnnotationsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
removeAnnotations(int index)
public ListAnnotationsResponse.Builder removeAnnotations(int index)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
setAnnotations(int index, Annotation value)
public ListAnnotationsResponse.Builder setAnnotations(int index, Annotation value)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Annotation |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
setAnnotations(int index, Annotation.Builder builderForValue)
public ListAnnotationsResponse.Builder setAnnotations(int index, Annotation.Builder builderForValue)The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Annotation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
|
setNextPageToken(String value)
public ListAnnotationsResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAnnotationsResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAnnotationsResponse.Builder |
This builder for chaining. |