public static final class ListAnnotationsResponse.Builder extends GeneratedMessageV3.Builder<ListAnnotationsResponse.Builder> implements ListAnnotationsResponseOrBuilder
Request message for ListAnnotations API.
Protobuf type google.cloud.visionai.v1.ListAnnotationsResponse
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
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>
|
addAnnotations(Annotation value)
public ListAnnotationsResponse.Builder addAnnotations(Annotation value)
The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
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;
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;
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;
addAnnotationsBuilder()
public Annotation.Builder addAnnotationsBuilder()
The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAnnotationsResponse build()
buildPartial()
public ListAnnotationsResponse buildPartial()
clear()
public ListAnnotationsResponse.Builder clear()
Overrides
clearAnnotations()
public ListAnnotationsResponse.Builder clearAnnotations()
The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAnnotationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAnnotationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAnnotationsResponse.Builder clone()
Overrides
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
|
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
|
getAnnotationsBuilderList()
public List<Annotation.Builder> getAnnotationsBuilderList()
The annotations from the specified asset.
repeated .google.cloud.visionai.v1.Annotation annotations = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAnnotationsResponse other)
public ListAnnotationsResponse.Builder mergeFrom(ListAnnotationsResponse other)
public ListAnnotationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAnnotationsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAnnotationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides