- 3.46.0 (latest)
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public static final class FaceAnnotation.Landmark.Builder extends GeneratedMessageV3.Builder<FaceAnnotation.Landmark.Builder> implements FaceAnnotation.LandmarkOrBuilder
A face-specific landmark (for example, a face feature).
Protobuf type google.cloud.vision.v1.FaceAnnotation.Landmark
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FaceAnnotation.Landmark.BuilderImplements
FaceAnnotation.LandmarkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceAnnotation.Landmark.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
build()
public FaceAnnotation.Landmark build()
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark |
buildPartial()
public FaceAnnotation.Landmark buildPartial()
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark |
clear()
public FaceAnnotation.Landmark.Builder clear()
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
clearField(Descriptors.FieldDescriptor field)
public FaceAnnotation.Landmark.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceAnnotation.Landmark.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
clearPosition()
public FaceAnnotation.Landmark.Builder clearPosition()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
clearType()
public FaceAnnotation.Landmark.Builder clearType()
Face landmark type.
.google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder | This builder for chaining. |
clone()
public FaceAnnotation.Landmark.Builder clone()
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
getDefaultInstanceForType()
public FaceAnnotation.Landmark getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPosition()
public Position getPosition()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Returns | |
---|---|
Type | Description |
Position | The position. |
getPositionBuilder()
public Position.Builder getPositionBuilder()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Returns | |
---|---|
Type | Description |
Position.Builder |
getPositionOrBuilder()
public PositionOrBuilder getPositionOrBuilder()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Returns | |
---|---|
Type | Description |
PositionOrBuilder |
getType()
public FaceAnnotation.Landmark.Type getType()
Face landmark type.
.google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Type | The type. |
getTypeValue()
public int getTypeValue()
Face landmark type.
.google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for type. |
hasPosition()
public boolean hasPosition()
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the position field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FaceAnnotation.Landmark other)
public FaceAnnotation.Landmark.Builder mergeFrom(FaceAnnotation.Landmark other)
Parameter | |
---|---|
Name | Description |
other | FaceAnnotation.Landmark |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FaceAnnotation.Landmark.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FaceAnnotation.Landmark.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
mergePosition(Position value)
public FaceAnnotation.Landmark.Builder mergePosition(Position value)
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Parameter | |
---|---|
Name | Description |
value | Position |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceAnnotation.Landmark.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FaceAnnotation.Landmark.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
setPosition(Position value)
public FaceAnnotation.Landmark.Builder setPosition(Position value)
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Parameter | |
---|---|
Name | Description |
value | Position |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
setPosition(Position.Builder builderForValue)
public FaceAnnotation.Landmark.Builder setPosition(Position.Builder builderForValue)
Face landmark position.
.google.cloud.vision.v1.Position position = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Position.Builder |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceAnnotation.Landmark.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |
setType(FaceAnnotation.Landmark.Type value)
public FaceAnnotation.Landmark.Builder setType(FaceAnnotation.Landmark.Type value)
Face landmark type.
.google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;
Parameter | |
---|---|
Name | Description |
value | FaceAnnotation.Landmark.Type The type to set. |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder | This builder for chaining. |
setTypeValue(int value)
public FaceAnnotation.Landmark.Builder setTypeValue(int value)
Face landmark type.
.google.cloud.vision.v1.FaceAnnotation.Landmark.Type type = 3;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceAnnotation.Landmark.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Landmark.Builder |