Class ComplexPointProto.AnnotationPointPB.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ComplexPointProto.AnnotationPointPB.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ComplexPointProto.AnnotationPointPB.Builder>
com.inductiveautomation.historian.common.protobuf.ComplexPointProto.AnnotationPointPB.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ComplexPointProto.AnnotationPointPBOrBuilder, Cloneable
- Enclosing class:
ComplexPointProto.AnnotationPointPB
public static final class ComplexPointProto.AnnotationPointPB.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ComplexPointProto.AnnotationPointPB.Builder>
implements ComplexPointProto.AnnotationPointPBOrBuilder
Protobuf type
common.protobuf.AnnotationPointPB-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()string author = 5;bool deleted = 12;int64 endTime = 7;Nanoseconds within the millisecond of `endTime`, so the value survives a round trip exactly.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) string identifier = 1;sint64 lastUpdated = 8;Nanoseconds within the millisecond of `lastUpdated`, so the value survives a round trip exactly.string notes = 4;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .common.protobuf.QualifiedPathPB source = 2;int64 startTime = 6;Nanoseconds within the millisecond of `startTime`, so the annotation's identity survives a round trip.string type = 3;clone()string author = 5;com.google.protobuf.ByteStringstring author = 5;booleanbool deleted = 12;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongint64 endTime = 7;intNanoseconds within the millisecond of `endTime`, so the value survives a round trip exactly.string identifier = 1;com.google.protobuf.ByteStringstring identifier = 1;longsint64 lastUpdated = 8;intNanoseconds within the millisecond of `lastUpdated`, so the value survives a round trip exactly.getNotes()string notes = 4;com.google.protobuf.ByteStringstring notes = 4;.common.protobuf.QualifiedPathPB source = 2;.common.protobuf.QualifiedPathPB source = 2;.common.protobuf.QualifiedPathPB source = 2;longint64 startTime = 6;intNanoseconds within the millisecond of `startTime`, so the annotation's identity survives a round trip.getType()string type = 3;com.google.protobuf.ByteStringstring type = 3;boolean.common.protobuf.QualifiedPathPB source = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .common.protobuf.QualifiedPathPB source = 2;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) string author = 5;setAuthorBytes(com.google.protobuf.ByteString value) string author = 5;setDeleted(boolean value) bool deleted = 12;setEndTime(long value) int64 endTime = 7;setEndTimeNanos(int value) Nanoseconds within the millisecond of `endTime`, so the value survives a round trip exactly.setIdentifier(String value) string identifier = 1;setIdentifierBytes(com.google.protobuf.ByteString value) string identifier = 1;setLastUpdated(long value) sint64 lastUpdated = 8;setLastUpdatedNanos(int value) Nanoseconds within the millisecond of `lastUpdated`, so the value survives a round trip exactly.string notes = 4;setNotesBytes(com.google.protobuf.ByteString value) string notes = 4;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .common.protobuf.QualifiedPathPB source = 2;setSource(QualifiedPathProto.QualifiedPathPB.Builder builderForValue) .common.protobuf.QualifiedPathPB source = 2;setStartTime(long value) int64 startTime = 6;setStartTimeNanos(int value) Nanoseconds within the millisecond of `startTime`, so the annotation's identity survives a round trip.string type = 3;setTypeBytes(com.google.protobuf.ByteString value) string type = 3;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods 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 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<ComplexPointProto.AnnotationPointPB.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<ComplexPointProto.AnnotationPointPB.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<ComplexPointProto.AnnotationPointPB.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<ComplexPointProto.AnnotationPointPB.Builder>
-
setField
public ComplexPointProto.AnnotationPointPB.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<ComplexPointProto.AnnotationPointPB.Builder>
-
clearField
public ComplexPointProto.AnnotationPointPB.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComplexPointProto.AnnotationPointPB.Builder>
-
clearOneof
public ComplexPointProto.AnnotationPointPB.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ComplexPointProto.AnnotationPointPB.Builder>
-
setRepeatedField
public ComplexPointProto.AnnotationPointPB.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<ComplexPointProto.AnnotationPointPB.Builder>
-
addRepeatedField
public ComplexPointProto.AnnotationPointPB.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<ComplexPointProto.AnnotationPointPB.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ComplexPointProto.AnnotationPointPB.Builder>
-
mergeFrom
public ComplexPointProto.AnnotationPointPB.Builder mergeFrom(ComplexPointProto.AnnotationPointPB other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ComplexPointProto.AnnotationPointPB.Builder>
-
mergeFrom
public ComplexPointProto.AnnotationPointPB.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<ComplexPointProto.AnnotationPointPB.Builder>- Throws:
IOException
-
getIdentifier
string identifier = 1;- Specified by:
getIdentifierin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The identifier.
-
getIdentifierBytes
public com.google.protobuf.ByteString getIdentifierBytes()string identifier = 1;- Specified by:
getIdentifierBytesin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The bytes for identifier.
-
setIdentifier
string identifier = 1;- Parameters:
value- The identifier to set.- Returns:
- This builder for chaining.
-
clearIdentifier
string identifier = 1;- Returns:
- This builder for chaining.
-
setIdentifierBytes
public ComplexPointProto.AnnotationPointPB.Builder setIdentifierBytes(com.google.protobuf.ByteString value) string identifier = 1;- Parameters:
value- The bytes for identifier to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource().common.protobuf.QualifiedPathPB source = 2;- Specified by:
hasSourcein interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- Whether the source field is set.
-
getSource
.common.protobuf.QualifiedPathPB source = 2;- Specified by:
getSourcein interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The source.
-
setSource
public ComplexPointProto.AnnotationPointPB.Builder setSource(QualifiedPathProto.QualifiedPathPB value) .common.protobuf.QualifiedPathPB source = 2; -
setSource
public ComplexPointProto.AnnotationPointPB.Builder setSource(QualifiedPathProto.QualifiedPathPB.Builder builderForValue) .common.protobuf.QualifiedPathPB source = 2; -
mergeSource
public ComplexPointProto.AnnotationPointPB.Builder mergeSource(QualifiedPathProto.QualifiedPathPB value) .common.protobuf.QualifiedPathPB source = 2; -
clearSource
.common.protobuf.QualifiedPathPB source = 2; -
getSourceBuilder
.common.protobuf.QualifiedPathPB source = 2; -
getSourceOrBuilder
.common.protobuf.QualifiedPathPB source = 2;- Specified by:
getSourceOrBuilderin interfaceComplexPointProto.AnnotationPointPBOrBuilder
-
getType
string type = 3;- Specified by:
getTypein interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()string type = 3;- Specified by:
getTypeBytesin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The bytes for type.
-
setType
string type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
string type = 3;- Returns:
- This builder for chaining.
-
setTypeBytes
public ComplexPointProto.AnnotationPointPB.Builder setTypeBytes(com.google.protobuf.ByteString value) string type = 3;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getNotes
string notes = 4;- Specified by:
getNotesin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The notes.
-
getNotesBytes
public com.google.protobuf.ByteString getNotesBytes()string notes = 4;- Specified by:
getNotesBytesin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The bytes for notes.
-
setNotes
string notes = 4;- Parameters:
value- The notes to set.- Returns:
- This builder for chaining.
-
clearNotes
string notes = 4;- Returns:
- This builder for chaining.
-
setNotesBytes
public ComplexPointProto.AnnotationPointPB.Builder setNotesBytes(com.google.protobuf.ByteString value) string notes = 4;- Parameters:
value- The bytes for notes to set.- Returns:
- This builder for chaining.
-
getAuthor
string author = 5;- Specified by:
getAuthorin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The author.
-
getAuthorBytes
public com.google.protobuf.ByteString getAuthorBytes()string author = 5;- Specified by:
getAuthorBytesin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The bytes for author.
-
setAuthor
string author = 5;- Parameters:
value- The author to set.- Returns:
- This builder for chaining.
-
clearAuthor
string author = 5;- Returns:
- This builder for chaining.
-
setAuthorBytes
public ComplexPointProto.AnnotationPointPB.Builder setAuthorBytes(com.google.protobuf.ByteString value) string author = 5;- Parameters:
value- The bytes for author to set.- Returns:
- This builder for chaining.
-
getStartTime
public long getStartTime()int64 startTime = 6;- Specified by:
getStartTimein interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The startTime.
-
setStartTime
int64 startTime = 6;- Parameters:
value- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
int64 startTime = 6;- Returns:
- This builder for chaining.
-
getEndTime
public long getEndTime()int64 endTime = 7;- Specified by:
getEndTimein interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The endTime.
-
setEndTime
int64 endTime = 7;- Parameters:
value- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
int64 endTime = 7;- Returns:
- This builder for chaining.
-
getLastUpdated
public long getLastUpdated()sint64 lastUpdated = 8;- Specified by:
getLastUpdatedin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The lastUpdated.
-
setLastUpdated
sint64 lastUpdated = 8;- Parameters:
value- The lastUpdated to set.- Returns:
- This builder for chaining.
-
clearLastUpdated
sint64 lastUpdated = 8;- Returns:
- This builder for chaining.
-
getStartTimeNanos
public int getStartTimeNanos()Nanoseconds within the millisecond of `startTime`, so the annotation's identity survives a round trip.
int32 startTimeNanos = 9;- Specified by:
getStartTimeNanosin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The startTimeNanos.
-
setStartTimeNanos
Nanoseconds within the millisecond of `startTime`, so the annotation's identity survives a round trip.
int32 startTimeNanos = 9;- Parameters:
value- The startTimeNanos to set.- Returns:
- This builder for chaining.
-
clearStartTimeNanos
Nanoseconds within the millisecond of `startTime`, so the annotation's identity survives a round trip.
int32 startTimeNanos = 9;- Returns:
- This builder for chaining.
-
getEndTimeNanos
public int getEndTimeNanos()Nanoseconds within the millisecond of `endTime`, so the value survives a round trip exactly.
int32 endTimeNanos = 10;- Specified by:
getEndTimeNanosin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The endTimeNanos.
-
setEndTimeNanos
Nanoseconds within the millisecond of `endTime`, so the value survives a round trip exactly.
int32 endTimeNanos = 10;- Parameters:
value- The endTimeNanos to set.- Returns:
- This builder for chaining.
-
clearEndTimeNanos
Nanoseconds within the millisecond of `endTime`, so the value survives a round trip exactly.
int32 endTimeNanos = 10;- Returns:
- This builder for chaining.
-
getLastUpdatedNanos
public int getLastUpdatedNanos()Nanoseconds within the millisecond of `lastUpdated`, so the value survives a round trip exactly.
int32 lastUpdatedNanos = 11;- Specified by:
getLastUpdatedNanosin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The lastUpdatedNanos.
-
setLastUpdatedNanos
Nanoseconds within the millisecond of `lastUpdated`, so the value survives a round trip exactly.
int32 lastUpdatedNanos = 11;- Parameters:
value- The lastUpdatedNanos to set.- Returns:
- This builder for chaining.
-
clearLastUpdatedNanos
Nanoseconds within the millisecond of `lastUpdated`, so the value survives a round trip exactly.
int32 lastUpdatedNanos = 11;- Returns:
- This builder for chaining.
-
getDeleted
public boolean getDeleted()bool deleted = 12;- Specified by:
getDeletedin interfaceComplexPointProto.AnnotationPointPBOrBuilder- Returns:
- The deleted.
-
setDeleted
bool deleted = 12;- Parameters:
value- The deleted to set.- Returns:
- This builder for chaining.
-
clearDeleted
bool deleted = 12;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ComplexPointProto.AnnotationPointPB.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComplexPointProto.AnnotationPointPB.Builder>
-
mergeUnknownFields
public final ComplexPointProto.AnnotationPointPB.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComplexPointProto.AnnotationPointPB.Builder>
-