public static final class MetricsProto.geolocation extends com.google.protobuf.GeneratedMessage implements MetricsProto.geolocationOrBuilder
com.pushtech.sdk.geolocation
Modifier and Type | Class and Description |
---|---|
static class |
MetricsProto.geolocation.Builder
Protobuf type
com.pushtech.sdk.geolocation |
Modifier and Type | Field and Description |
---|---|
static int |
ACCURACY_FIELD_NUMBER |
static int |
LATITUDE_FIELD_NUMBER |
static int |
LONGITUDE_FIELD_NUMBER |
static |
PARSER |
Modifier and Type | Method and Description |
---|---|
float |
getAccuracy()
optional float accuracy = 3; |
static MetricsProto.geolocation |
getDefaultInstance() |
MetricsProto.geolocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
float |
getLatitude()
optional float latitude = 1; |
float |
getLongitude()
optional float longitude = 2; |
|
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAccuracy()
optional float accuracy = 3; |
boolean |
hasLatitude()
optional float latitude = 1; |
boolean |
hasLongitude()
optional float longitude = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetricsProto.geolocation.Builder |
newBuilder() |
static MetricsProto.geolocation.Builder |
newBuilder(MetricsProto.geolocation prototype) |
MetricsProto.geolocation.Builder |
newBuilderForType() |
protected MetricsProto.geolocation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static MetricsProto.geolocation |
parseDelimitedFrom(InputStream input) |
static MetricsProto.geolocation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.geolocation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.geolocation |
parseFrom(com.google.protobuf.ByteString data) |
static MetricsProto.geolocation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.geolocation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetricsProto.geolocation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.geolocation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetricsProto.geolocation.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int LATITUDE_FIELD_NUMBER
public static final int LONGITUDE_FIELD_NUMBER
public static final int ACCURACY_FIELD_NUMBER
public static MetricsProto.geolocation getDefaultInstance()
public MetricsProto.geolocation getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
publicgetParserForType()
public boolean hasLatitude()
optional float latitude = 1;
hasLatitude
in interface MetricsProto.geolocationOrBuilder
public float getLatitude()
optional float latitude = 1;
getLatitude
in interface MetricsProto.geolocationOrBuilder
public boolean hasLongitude()
optional float longitude = 2;
hasLongitude
in interface MetricsProto.geolocationOrBuilder
public float getLongitude()
optional float longitude = 2;
getLongitude
in interface MetricsProto.geolocationOrBuilder
public boolean hasAccuracy()
optional float accuracy = 3;
hasAccuracy
in interface MetricsProto.geolocationOrBuilder
public float getAccuracy()
optional float accuracy = 3;
getAccuracy
in interface MetricsProto.geolocationOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
public static MetricsProto.geolocation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.geolocation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.geolocation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.geolocation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.geolocation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MetricsProto.geolocation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.geolocation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static MetricsProto.geolocation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.geolocation.Builder newBuilder()
public MetricsProto.geolocation.Builder newBuilderForType()
public static MetricsProto.geolocation.Builder newBuilder(MetricsProto.geolocation prototype)
public MetricsProto.geolocation.Builder toBuilder()
protected MetricsProto.geolocation.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)