Interface SnapshotOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Snapshot,Snapshot.Builder
@Generated public interface SnapshotOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)The metadata of the snapshot.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()The metadata of the snapshot.Map<String,String>getMetadataMap()The metadata of the snapshot.StringgetMetadataOrDefault(String key, String defaultValue)The metadata of the snapshot.StringgetMetadataOrThrow(String key)The metadata of the snapshot.StringgetName()The name of the snapshot.com.google.protobuf.ByteStringgetNameBytes()The name of the snapshot.com.google.protobuf.ByteStringgetPayload()The payload of the snapshot.longgetTimestamp()The timestamp of the snapshot.StringgetVersion()The version of the snapshot.com.google.protobuf.ByteStringgetVersionBytes()The version of the snapshot.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of the snapshot.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the snapshot.
string name = 1;- Returns:
- The bytes for name.
-
getVersion
String getVersion()
The version of the snapshot.
string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
The version of the snapshot.
string version = 2;- Returns:
- The bytes for version.
-
getPayload
com.google.protobuf.ByteString getPayload()
The payload of the snapshot.
bytes payload = 3;- Returns:
- The payload.
-
getTimestamp
long getTimestamp()
The timestamp of the snapshot.
int64 timestamp = 4;- Returns:
- The timestamp.
-
getMetadataCount
int getMetadataCount()
The metadata of the snapshot.
map<string, string> metadata = 5;
-
containsMetadata
boolean containsMetadata(String key)
The metadata of the snapshot.
map<string, string> metadata = 5;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.
-
getMetadataMap
Map<String,String> getMetadataMap()
The metadata of the snapshot.
map<string, string> metadata = 5;
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
The metadata of the snapshot.
map<string, string> metadata = 5;
-
-