public static final class UserSpecifiedAnnotation.Builder extends GeneratedMessage.Builder<UserSpecifiedAnnotation.Builder> implements UserSpecifiedAnnotationOrBuilderAnnotation provided by users.
Protobuf type google.cloud.visionai.v1.UserSpecifiedAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserSpecifiedAnnotation.BuilderImplements
UserSpecifiedAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UserSpecifiedAnnotation build()| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation |
|
buildPartial()
public UserSpecifiedAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation |
|
clear()
public UserSpecifiedAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
clearKey()
public UserSpecifiedAnnotation.Builder clearKey()Required. Key of the annotation. The key must be set with type by CreateDataSchema.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
This builder for chaining. |
clearPartition()
public UserSpecifiedAnnotation.Builder clearPartition()Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
clearValue()
public UserSpecifiedAnnotation.Builder clearValue()Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
getDefaultInstanceForType()
public UserSpecifiedAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKey()
public String getKey()Required. Key of the annotation. The key must be set with type by CreateDataSchema.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()Required. Key of the annotation. The key must be set with type by CreateDataSchema.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getPartition()
public Partition getPartition()Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Returns | |
|---|---|
| Type | Description |
Partition |
The partition. |
getPartitionBuilder()
public Partition.Builder getPartitionBuilder()Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Returns | |
|---|---|
| Type | Description |
Partition.Builder |
|
getPartitionOrBuilder()
public PartitionOrBuilder getPartitionOrBuilder()Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Returns | |
|---|---|
| Type | Description |
PartitionOrBuilder |
|
getValue()
public AnnotationValue getValue()Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Returns | |
|---|---|
| Type | Description |
AnnotationValue |
The value. |
getValueBuilder()
public AnnotationValue.Builder getValueBuilder()Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Returns | |
|---|---|
| Type | Description |
AnnotationValue.Builder |
|
getValueOrBuilder()
public AnnotationValueOrBuilder getValueOrBuilder()Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Returns | |
|---|---|
| Type | Description |
AnnotationValueOrBuilder |
|
hasPartition()
public boolean hasPartition()Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the partition field is set. |
hasValue()
public boolean hasValue()Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserSpecifiedAnnotation other)
public UserSpecifiedAnnotation.Builder mergeFrom(UserSpecifiedAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
UserSpecifiedAnnotation |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserSpecifiedAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserSpecifiedAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
mergePartition(Partition value)
public UserSpecifiedAnnotation.Builder mergePartition(Partition value)Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Partition |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
mergeValue(AnnotationValue value)
public UserSpecifiedAnnotation.Builder mergeValue(AnnotationValue value)Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationValue |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
setKey(String value)
public UserSpecifiedAnnotation.Builder setKey(String value)Required. Key of the annotation. The key must be set with type by CreateDataSchema.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public UserSpecifiedAnnotation.Builder setKeyBytes(ByteString value)Required. Key of the annotation. The key must be set with type by CreateDataSchema.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
This builder for chaining. |
setPartition(Partition value)
public UserSpecifiedAnnotation.Builder setPartition(Partition value)Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Partition |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
setPartition(Partition.Builder builderForValue)
public UserSpecifiedAnnotation.Builder setPartition(Partition.Builder builderForValue)Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Partition.Builder |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
setValue(AnnotationValue value)
public UserSpecifiedAnnotation.Builder setValue(AnnotationValue value)Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationValue |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|
setValue(AnnotationValue.Builder builderForValue)
public UserSpecifiedAnnotation.Builder setValue(AnnotationValue.Builder builderForValue)Value of the annotation. The value must be able to convert to the type according to the data schema.
.google.cloud.visionai.v1.AnnotationValue value = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnnotationValue.Builder |
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedAnnotation.Builder |
|