public static final class MetricsProto.metrics extends com.google.protobuf.GeneratedMessage implements MetricsProto.metricsOrBuilder
com.pushtech.sdk.metrics
Modifier and Type | Class and Description |
---|---|
static class |
MetricsProto.metrics.Builder
Protobuf type
com.pushtech.sdk.metrics |
Modifier and Type | Field and Description |
---|---|
static int |
APP_ID_FIELD_NUMBER |
static int |
DEVICE_ID_FIELD_NUMBER |
static int |
DEVICE_METRICS_FIELD_NUMBER |
static |
PARSER |
Modifier and Type | Method and Description |
---|---|
String |
getAppId()
required string app_id = 2; |
com.google.protobuf.ByteString |
getAppIdBytes()
required string app_id = 2; |
static MetricsProto.metrics |
getDefaultInstance() |
MetricsProto.metrics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceId()
required string device_id = 1; |
com.google.protobuf.ByteString |
getDeviceIdBytes()
required string device_id = 1; |
MetricsProto.metric |
getDeviceMetrics(int index)
repeated .com.pushtech.sdk.metric device_metrics = 3; |
int |
getDeviceMetricsCount()
repeated .com.pushtech.sdk.metric device_metrics = 3; |
List<MetricsProto.metric> |
getDeviceMetricsList()
repeated .com.pushtech.sdk.metric device_metrics = 3; |
MetricsProto.metricOrBuilder |
getDeviceMetricsOrBuilder(int index)
repeated .com.pushtech.sdk.metric device_metrics = 3; |
List<? extends MetricsProto.metricOrBuilder> |
getDeviceMetricsOrBuilderList()
repeated .com.pushtech.sdk.metric device_metrics = 3; |
|
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAppId()
required string app_id = 2; |
boolean |
hasDeviceId()
required string device_id = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetricsProto.metrics.Builder |
newBuilder() |
static MetricsProto.metrics.Builder |
newBuilder(MetricsProto.metrics prototype) |
MetricsProto.metrics.Builder |
newBuilderForType() |
protected MetricsProto.metrics.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static MetricsProto.metrics |
parseDelimitedFrom(InputStream input) |
static MetricsProto.metrics |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metrics |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metrics |
parseFrom(com.google.protobuf.ByteString data) |
static MetricsProto.metrics |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metrics |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetricsProto.metrics |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsProto.metrics |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetricsProto.metrics.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int DEVICE_ID_FIELD_NUMBER
public static final int APP_ID_FIELD_NUMBER
public static final int DEVICE_METRICS_FIELD_NUMBER
public static MetricsProto.metrics getDefaultInstance()
public MetricsProto.metrics 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 hasDeviceId()
required string device_id = 1;
hasDeviceId
in interface MetricsProto.metricsOrBuilder
public String getDeviceId()
required string device_id = 1;
getDeviceId
in interface MetricsProto.metricsOrBuilder
public com.google.protobuf.ByteString getDeviceIdBytes()
required string device_id = 1;
getDeviceIdBytes
in interface MetricsProto.metricsOrBuilder
public boolean hasAppId()
required string app_id = 2;
hasAppId
in interface MetricsProto.metricsOrBuilder
public String getAppId()
required string app_id = 2;
getAppId
in interface MetricsProto.metricsOrBuilder
public com.google.protobuf.ByteString getAppIdBytes()
required string app_id = 2;
getAppIdBytes
in interface MetricsProto.metricsOrBuilder
public List<MetricsProto.metric> getDeviceMetricsList()
repeated .com.pushtech.sdk.metric device_metrics = 3;
getDeviceMetricsList
in interface MetricsProto.metricsOrBuilder
public List<? extends MetricsProto.metricOrBuilder> getDeviceMetricsOrBuilderList()
repeated .com.pushtech.sdk.metric device_metrics = 3;
getDeviceMetricsOrBuilderList
in interface MetricsProto.metricsOrBuilder
public int getDeviceMetricsCount()
repeated .com.pushtech.sdk.metric device_metrics = 3;
getDeviceMetricsCount
in interface MetricsProto.metricsOrBuilder
public MetricsProto.metric getDeviceMetrics(int index)
repeated .com.pushtech.sdk.metric device_metrics = 3;
getDeviceMetrics
in interface MetricsProto.metricsOrBuilder
public MetricsProto.metricOrBuilder getDeviceMetricsOrBuilder(int index)
repeated .com.pushtech.sdk.metric device_metrics = 3;
getDeviceMetricsOrBuilder
in interface MetricsProto.metricsOrBuilder
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.metrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.metrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.metrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricsProto.metrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.metrics parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MetricsProto.metrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.metrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static MetricsProto.metrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricsProto.metrics.Builder newBuilder()
public MetricsProto.metrics.Builder newBuilderForType()
public static MetricsProto.metrics.Builder newBuilder(MetricsProto.metrics prototype)
public MetricsProto.metrics.Builder toBuilder()
protected MetricsProto.metrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)