public static final class UserSpecifiedAnnotation.Builder extends GeneratedMessageV3.Builder<UserSpecifiedAnnotation.Builder> implements UserSpecifiedAnnotationOrBuilder
Annotation provided by users.
Protobuf type google.cloud.visionai.v1.UserSpecifiedAnnotation
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserSpecifiedAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UserSpecifiedAnnotation build()
buildPartial()
public UserSpecifiedAnnotation buildPartial()
clear()
public UserSpecifiedAnnotation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UserSpecifiedAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UserSpecifiedAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPartition()
public UserSpecifiedAnnotation.Builder clearPartition()
Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
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;
clone()
public UserSpecifiedAnnotation.Builder clone()
Overrides
getDefaultInstanceForType()
public UserSpecifiedAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getPartitionOrBuilder()
public PartitionOrBuilder getPartitionOrBuilder()
Partition information in time and space for the sub-asset level annotation.
.google.cloud.visionai.v1.Partition partition = 3;
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;
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UserSpecifiedAnnotation other)
public UserSpecifiedAnnotation.Builder mergeFrom(UserSpecifiedAnnotation other)
public UserSpecifiedAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UserSpecifiedAnnotation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserSpecifiedAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UserSpecifiedAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The key to set.
|
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 |
ByteString
The bytes for key to set.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserSpecifiedAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserSpecifiedAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;