Package logproto
Interface Logproto.SampleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Logproto.Sample,Logproto.Sample.Builder
- Enclosing class:
- Logproto
public static interface Logproto.SampleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetHash()uint64 hash = 3 [(.gogoproto.jsontag) = "hash"];longgetTimestamp()int64 timestamp = 1 [(.gogoproto.jsontag) = "ts"];doublegetValue()double value = 2 [(.gogoproto.jsontag) = "value"];-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTimestamp
long getTimestamp()
int64 timestamp = 1 [(.gogoproto.jsontag) = "ts"];- Returns:
- The timestamp.
-
getValue
double getValue()
double value = 2 [(.gogoproto.jsontag) = "value"];- Returns:
- The value.
-
getHash
long getHash()
uint64 hash = 3 [(.gogoproto.jsontag) = "hash"];- Returns:
- The hash.
-
-