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 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;
      • 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;
      • getMetadataOrThrow

        String getMetadataOrThrow​(String key)
         The metadata of the snapshot. 
         
        map<string, string> metadata = 5;