Package io.redvox.apis
Class RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
io.redvox.apis.RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder,Cloneable
- Enclosing class:
- RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp
public static final class RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
implements RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder
A message that encapsulates both a mach and GPS timestampProtobuf type
redvox_api_m.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearGps()Best gps timestampBest mach timestampclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Unit of timestamps (should be microseconds since unix epoch UTC)clone()booleancontainsMetadata(String key) A map from string to string for including untyped metadatastatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoublegetGps()Best gps timestampdoublegetMach()Best mach timestampDeprecated.intA map from string to string for including untyped metadataA map from string to string for including untyped metadatagetMetadataOrDefault(String key, String defaultValue) A map from string to string for including untyped metadatagetMetadataOrThrow(String key) A map from string to string for including untyped metadataDeprecated.getUnit()Unit of timestamps (should be microseconds since unix epoch UTC)intUnit of timestamps (should be microseconds since unix epoch UTC)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllMetadata(Map<String, String> values) A map from string to string for including untyped metadataputMetadata(String key, String value) A map from string to string for including untyped metadataremoveMetadata(String key) A map from string to string for including untyped metadatasetGps(double value) Best gps timestampsetMach(double value) Best mach timestampsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Unit of timestamps (should be microseconds since unix epoch UTC)setUnitValue(int value) Unit of timestamps (should be microseconds since unix epoch UTC)setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.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<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.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<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
getDefaultInstanceForType
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp 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<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
setField
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.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<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
clearField
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
clearOneof
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
setRepeatedField
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.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<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
addRepeatedField
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.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<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
mergeFrom
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
mergeFrom
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.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<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>- Throws:
IOException
-
getUnitValue
public int getUnitValue()Unit of timestamps (should be microseconds since unix epoch UTC)
.redvox_api_m.RedvoxPacketM.Unit unit = 1;- Specified by:
getUnitValuein interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder- Returns:
- The enum numeric value on the wire for unit.
-
setUnitValue
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder setUnitValue(int value) Unit of timestamps (should be microseconds since unix epoch UTC)
.redvox_api_m.RedvoxPacketM.Unit unit = 1;- Parameters:
value- The enum numeric value on the wire for unit to set.- Returns:
- This builder for chaining.
-
getUnit
Unit of timestamps (should be microseconds since unix epoch UTC)
.redvox_api_m.RedvoxPacketM.Unit unit = 1;- Specified by:
getUnitin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder- Returns:
- The unit.
-
setUnit
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder setUnit(RedvoxApiM.RedvoxPacketM.Unit value) Unit of timestamps (should be microseconds since unix epoch UTC)
.redvox_api_m.RedvoxPacketM.Unit unit = 1;- Parameters:
value- The unit to set.- Returns:
- This builder for chaining.
-
clearUnit
Unit of timestamps (should be microseconds since unix epoch UTC)
.redvox_api_m.RedvoxPacketM.Unit unit = 1;- Returns:
- This builder for chaining.
-
getMach
public double getMach()Best mach timestamp
double mach = 2;- Specified by:
getMachin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder- Returns:
- The mach.
-
setMach
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder setMach(double value) Best mach timestamp
double mach = 2;- Parameters:
value- The mach to set.- Returns:
- This builder for chaining.
-
clearMach
Best mach timestamp
double mach = 2;- Returns:
- This builder for chaining.
-
getGps
public double getGps()Best gps timestamp
double gps = 3;- Specified by:
getGpsin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder- Returns:
- The gps.
-
setGps
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder setGps(double value) Best gps timestamp
double gps = 3;- Parameters:
value- The gps to set.- Returns:
- This builder for chaining.
-
clearGps
Best gps timestamp
double gps = 3;- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilderA map from string to string for including untyped metadata
map<string, string> metadata = 4;- Specified by:
getMetadataCountin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder
-
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 4;- Specified by:
containsMetadatain interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder
-
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 4;- Specified by:
getMetadataMapin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder
-
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 4;- Specified by:
getMetadataOrDefaultin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder
-
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 4;- Specified by:
getMetadataOrThrowin interfaceRedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestampOrBuilder
-
clearMetadata
-
removeMetadata
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder removeMetadata(String key) A map from string to string for including untyped metadata
map<string, string> metadata = 4; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder putMetadata(String key, String value) A map from string to string for including untyped metadata
map<string, string> metadata = 4; -
putAllMetadata
public RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder putAllMetadata(Map<String, String> values) A map from string to string for including untyped metadata
map<string, string> metadata = 4; -
setUnknownFields
public final RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-
mergeUnknownFields
public final RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RedvoxApiM.RedvoxPacketM.Sensors.Location.BestLocation.BestTimestamp.Builder>
-