Package biopb.image
Class Mesh.Face.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
biopb.image.Mesh.Face.Builder
- All Implemented Interfaces:
Mesh.FaceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Mesh.Face
public static final class Mesh.Face.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
implements Mesh.FaceOrBuilder
A trangle defined three indices of the verts arrayProtobuf type
biopb.image.Mesh.Face-
Method Summary
Modifier and TypeMethodDescriptionaddAllNormals(Iterable<? extends Point> values) Optionally one can cache the computed normal vectors hereaddAllValues(Iterable<? extends Float> values) Optionally one can cache the associated face values hereaddNormals(int index, Point value) Optionally one can cache the computed normal vectors hereaddNormals(int index, Point.Builder builderForValue) Optionally one can cache the computed normal vectors hereaddNormals(Point value) Optionally one can cache the computed normal vectors hereaddNormals(Point.Builder builderForValue) Optionally one can cache the computed normal vectors hereOptionally one can cache the computed normal vectors hereaddNormalsBuilder(int index) Optionally one can cache the computed normal vectors hereaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addValues(float value) Optionally one can cache the associated face values herebuild()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optionally one can cache the computed normal vectors hereclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clearP1()uint32 p1 = 1;clearP2()uint32 p2 = 2;clearP3()uint32 p3 = 3;Optionally one can cache the associated face values hereclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNormals(int index) Optionally one can cache the computed normal vectors heregetNormalsBuilder(int index) Optionally one can cache the computed normal vectors hereOptionally one can cache the computed normal vectors hereintOptionally one can cache the computed normal vectors hereOptionally one can cache the computed normal vectors heregetNormalsOrBuilder(int index) Optionally one can cache the computed normal vectors hereList<? extends PointOrBuilder>Optionally one can cache the computed normal vectors hereintgetP1()uint32 p1 = 1;intgetP2()uint32 p2 = 2;intgetP3()uint32 p3 = 3;floatgetValues(int index) Optionally one can cache the associated face values hereintOptionally one can cache the associated face values hereOptionally one can cache the associated face values hereprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Mesh.Face.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeNormals(int index) Optionally one can cache the computed normal vectors heresetNormals(int index, Point value) Optionally one can cache the computed normal vectors heresetNormals(int index, Point.Builder builderForValue) Optionally one can cache the computed normal vectors heresetP1(int value) uint32 p1 = 1;setP2(int value) uint32 p2 = 2;setP3(int value) uint32 p3 = 3;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Mesh.Face.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValues(int index, float value) Optionally one can cache the associated face values hereMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
setField
public Mesh.Face.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
setRepeatedField
public Mesh.Face.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
addRepeatedField
public Mesh.Face.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mesh.Face.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
mergeFrom
public Mesh.Face.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mesh.Face.Builder>- Throws:
IOException
-
getP1
public int getP1()uint32 p1 = 1;- Specified by:
getP1in interfaceMesh.FaceOrBuilder- Returns:
- The p1.
-
setP1
uint32 p1 = 1;- Parameters:
value- The p1 to set.- Returns:
- This builder for chaining.
-
clearP1
uint32 p1 = 1;- Returns:
- This builder for chaining.
-
getP2
public int getP2()uint32 p2 = 2;- Specified by:
getP2in interfaceMesh.FaceOrBuilder- Returns:
- The p2.
-
setP2
uint32 p2 = 2;- Parameters:
value- The p2 to set.- Returns:
- This builder for chaining.
-
clearP2
uint32 p2 = 2;- Returns:
- This builder for chaining.
-
getP3
public int getP3()uint32 p3 = 3;- Specified by:
getP3in interfaceMesh.FaceOrBuilder- Returns:
- The p3.
-
setP3
uint32 p3 = 3;- Parameters:
value- The p3 to set.- Returns:
- This builder for chaining.
-
clearP3
uint32 p3 = 3;- Returns:
- This builder for chaining.
-
getNormalsList
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4;- Specified by:
getNormalsListin interfaceMesh.FaceOrBuilder
-
getNormalsCount
public int getNormalsCount()Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4;- Specified by:
getNormalsCountin interfaceMesh.FaceOrBuilder
-
getNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4;- Specified by:
getNormalsin interfaceMesh.FaceOrBuilder
-
setNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
setNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
addNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
addNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
addNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
addNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
addAllNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
clearNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
removeNormals
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
getNormalsBuilder
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
getNormalsOrBuilder
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4;- Specified by:
getNormalsOrBuilderin interfaceMesh.FaceOrBuilder
-
getNormalsOrBuilderList
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4;- Specified by:
getNormalsOrBuilderListin interfaceMesh.FaceOrBuilder
-
addNormalsBuilder
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
addNormalsBuilder
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
getNormalsBuilderList
Optionally one can cache the computed normal vectors here
repeated .biopb.image.Point normals = 4; -
getValuesList
Optionally one can cache the associated face values here
repeated float values = 5;- Specified by:
getValuesListin interfaceMesh.FaceOrBuilder- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()Optionally one can cache the associated face values here
repeated float values = 5;- Specified by:
getValuesCountin interfaceMesh.FaceOrBuilder- Returns:
- The count of values.
-
getValues
public float getValues(int index) Optionally one can cache the associated face values here
repeated float values = 5;- Specified by:
getValuesin interfaceMesh.FaceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
setValues
Optionally one can cache the associated face values here
repeated float values = 5;- Parameters:
index- The index to set the value at.value- The values to set.- Returns:
- This builder for chaining.
-
addValues
Optionally one can cache the associated face values here
repeated float values = 5;- Parameters:
value- The values to add.- Returns:
- This builder for chaining.
-
addAllValues
Optionally one can cache the associated face values here
repeated float values = 5;- Parameters:
values- The values to add.- Returns:
- This builder for chaining.
-
clearValues
Optionally one can cache the associated face values here
repeated float values = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-
mergeUnknownFields
public final Mesh.Face.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mesh.Face.Builder>
-