Package logproto
Interface Logproto.EntryAdapterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Logproto.EntryAdapter,Logproto.EntryAdapter.Builder
- Enclosing class:
- Logproto
public static interface Logproto.EntryAdapterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLine()string line = 2 [(.gogoproto.jsontag) = "line"];com.google.protobuf.ByteStringgetLineBytes()string line = 2 [(.gogoproto.jsontag) = "line"];TimestampgetTimestamp().google.protobuf.Timestamp timestamp = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "ts", (.gogoproto.stdtime) = true];TimestampOrBuildergetTimestampOrBuilder().google.protobuf.Timestamp timestamp = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "ts", (.gogoproto.stdtime) = true];booleanhasTimestamp().google.protobuf.Timestamp timestamp = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "ts", (.gogoproto.stdtime) = true];-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTimestamp
boolean hasTimestamp()
.google.protobuf.Timestamp timestamp = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "ts", (.gogoproto.stdtime) = true];- Returns:
- Whether the timestamp field is set.
-
getTimestamp
Timestamp getTimestamp()
.google.protobuf.Timestamp timestamp = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "ts", (.gogoproto.stdtime) = true];- Returns:
- The timestamp.
-
getTimestampOrBuilder
TimestampOrBuilder getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "ts", (.gogoproto.stdtime) = true];
-
getLine
java.lang.String getLine()
string line = 2 [(.gogoproto.jsontag) = "line"];- Returns:
- The line.
-
getLineBytes
com.google.protobuf.ByteString getLineBytes()
string line = 2 [(.gogoproto.jsontag) = "line"];- Returns:
- The bytes for line.
-
-