public static final class MetricsProto.metric extends com.google.protobuf.GeneratedMessage implements MetricsProto.metricOrBuilder
com.pushtech.sdk.metric
Modifier and Type | Class and Description |
---|---|
static class |
MetricsProto.metric.Builder
Protobuf type
com.pushtech.sdk.metric |
Modifier and Type | Field and Description |
---|---|
static int |
CATEGORY_FIELD_NUMBER |
static int |
DATE_FIELD_NUMBER |
static int |
GEOLOCATION_FIELD_NUMBER |
static |
PARSER |
static int |
SUBTYPE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
static int |
VALUETYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
required string category = 1; |
com.google.protobuf.ByteString |
getCategoryBytes()
required string category = 1; |
String |
getDate()
required string date = 2; |
com.google.protobuf.ByteString |
getDateBytes()
required string date = 2; |
static MetricsProto.metric |
getDefaultInstance() |
MetricsProto.metric |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
MetricsProto.geolocation |
getGeolocation()
optional .com.pushtech.sdk.geolocation geolocation = 7; |
MetricsProto.geolocationOrBuilder |
getGeolocationOrBuilder()
optional .com.pushtech.sdk.geolocation geolocation = 7; |
|
getParserForType() |
int |
getSerializedSize() |
String |
getSubtype()
required string subtype = 3; |
com.google.protobuf.ByteString |
getSubtypeBytes()
required string subtype = 3; |
String |
getType()
required string type = 4; |
com.google.protobuf.ByteString |
getTypeBytes()
required string type = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValue()
required string value = 5; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 5; |
String |
getValueType()
required string valueType = 6; |
com.google.protobuf.ByteString |
getValueTypeBytes()
required string valueType = 6; |
boolean |
hasCategory()
required string category = 1; |
boolean |
hasDate()
required string date = 2; |
boolean |
hasGeolocation()
optional .com.pushtech.sdk.geolocation geolocation = 7; |
boolean |
hasSubtype()
required string subtype = 3; |
boolean |
hasType()
required string type = 4; |
boolean |
hasValue()
required string value = 5; |
boolean |
hasValueType()
required string valueType = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetricsProto.metric.Builder |
newBuilder() |
static MetricsProto.metric.Builder |
newBuilder(MetricsProto.metric prototype) |
MetricsProto.metric.Builder |
newBuilderForType() |
protected MetricsProto.metric.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static MetricsProto.metric |
parseDelimitedFrom(InputStream input) |
static MetricsProto.metric |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metric |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metric |
parseFrom(com.google.protobuf.ByteString data) |
static MetricsProto.metric |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metric |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetricsProto.metric |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metric |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetricsProto.metric.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int CATEGORY_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER
public static final int SUBTYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int VALUETYPE_FIELD_NUMBER
public static final int GEOLOCATION_FIELD_NUMBER
public static MetricsProto.metric getDefaultInstance()
public MetricsProto.metric 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 hasCategory()
required string category = 1;
hasCategory
in interface MetricsProto.metricOrBuilder
public String getCategory()
required string category = 1;
getCategory
in interface MetricsProto.metricOrBuilder
public com.google.protobuf.ByteString getCategoryBytes()
required string category = 1;
getCategoryBytes
in interface MetricsProto.metricOrBuilder
public boolean hasDate()
required string date = 2;
hasDate
in interface MetricsProto.metricOrBuilder
public String getDate()
required string date = 2;
getDate
in interface MetricsProto.metricOrBuilder
public com.google.protobuf.ByteString getDateBytes()
required string date = 2;
getDateBytes
in interface MetricsProto.metricOrBuilder
public boolean hasSubtype()
required string subtype = 3;
hasSubtype
in interface MetricsProto.metricOrBuilder
public String getSubtype()
required string subtype = 3;
getSubtype
in interface MetricsProto.metricOrBuilder
public com.google.protobuf.ByteString getSubtypeBytes()
required string subtype = 3;
getSubtypeBytes
in interface MetricsProto.metricOrBuilder
public boolean hasType()
required string type = 4;
hasType
in interface MetricsProto.metricOrBuilder
public String getType()
required string type = 4;
getType
in interface MetricsProto.metricOrBuilder
public com.google.protobuf.ByteString getTypeBytes()
required string type = 4;
getTypeBytes
in interface MetricsProto.metricOrBuilder
public boolean hasValue()
required string value = 5;
hasValue
in interface MetricsProto.metricOrBuilder
public String getValue()
required string value = 5;
getValue
in interface MetricsProto.metricOrBuilder
public com.google.protobuf.ByteString getValueBytes()
required string value = 5;
getValueBytes
in interface MetricsProto.metricOrBuilder
public boolean hasValueType()
required string valueType = 6;
hasValueType
in interface MetricsProto.metricOrBuilder
public String getValueType()
required string valueType = 6;
getValueType
in interface MetricsProto.metricOrBuilder
public com.google.protobuf.ByteString getValueTypeBytes()
required string valueType = 6;
getValueTypeBytes
in interface MetricsProto.metricOrBuilder
public boolean hasGeolocation()
optional .com.pushtech.sdk.geolocation geolocation = 7;
hasGeolocation
in interface MetricsProto.metricOrBuilder
public MetricsProto.geolocation getGeolocation()
optional .com.pushtech.sdk.geolocation geolocation = 7;
getGeolocation
in interface MetricsProto.metricOrBuilder
public MetricsProto.geolocationOrBuilder getGeolocationOrBuilder()
optional .com.pushtech.sdk.geolocation geolocation = 7;
getGeolocationOrBuilder
in interface MetricsProto.metricOrBuilder
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.metric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.metric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.metric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.metric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.metric parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MetricsProto.metric parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.metric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static MetricsProto.metric parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.metric.Builder newBuilder()
public MetricsProto.metric.Builder newBuilderForType()
public static MetricsProto.metric.Builder newBuilder(MetricsProto.metric prototype)
public MetricsProto.metric.Builder toBuilder()
protected MetricsProto.metric.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)