public static final class UpdateAnnotationRequest.Builder extends GeneratedMessageV3.Builder<UpdateAnnotationRequest.Builder> implements UpdateAnnotationRequestOrBuilder
Request message for UpdateAnnotation API.
Protobuf type google.cloud.visionai.v1.UpdateAnnotationRequest
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 UpdateAnnotationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateAnnotationRequest build()
buildPartial()
public UpdateAnnotationRequest buildPartial()
clear()
public UpdateAnnotationRequest.Builder clear()
Overrides
clearAnnotation()
public UpdateAnnotationRequest.Builder clearAnnotation()
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateAnnotationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAnnotationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateAnnotationRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateAnnotationRequest.Builder clone()
Overrides
getAnnotation()
public Annotation getAnnotation()
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Annotation |
The annotation.
|
getAnnotationBuilder()
public Annotation.Builder getAnnotationBuilder()
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
getAnnotationOrBuilder()
public AnnotationOrBuilder getAnnotationOrBuilder()
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateAnnotationRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
hasAnnotation()
public boolean hasAnnotation()
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the annotation field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAnnotation(Annotation value)
public UpdateAnnotationRequest.Builder mergeAnnotation(Annotation value)
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateAnnotationRequest other)
public UpdateAnnotationRequest.Builder mergeFrom(UpdateAnnotationRequest other)
public UpdateAnnotationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateAnnotationRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnnotationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateAnnotationRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
setAnnotation(Annotation value)
public UpdateAnnotationRequest.Builder setAnnotation(Annotation value)
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
setAnnotation(Annotation.Builder builderForValue)
public UpdateAnnotationRequest.Builder setAnnotation(Annotation.Builder builderForValue)
Required. The annotation to update.
The annotation's name
field is used to identify the annotation to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnnotationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAnnotationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnnotationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateAnnotationRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAnnotationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|