Interface Registry.Image.SizesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Registry.Image.Sizes, Registry.Image.Sizes.Builder
Enclosing class:
Registry.Image

public static interface Registry.Image.SizesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Size per platform in bytes.
    Deprecated.
    int
    Size per platform in bytes.
    Size per platform in bytes.
    long
    getPerPlatformOrDefault(String key, long defaultValue)
    Size per platform in bytes.
    long
    Size per platform in bytes.
    long
    Total size of the image in bytes.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTotal

      long getTotal()
       Total size of the image in bytes.
       
      int64 total = 1;
      Returns:
      The total.
    • getPerPlatformCount

      int getPerPlatformCount()
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
    • containsPerPlatform

      boolean containsPerPlatform(String key)
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
    • getPerPlatform

      @Deprecated Map<String,Long> getPerPlatform()
      Deprecated.
      Use getPerPlatformMap() instead.
    • getPerPlatformMap

      Map<String,Long> getPerPlatformMap()
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
    • getPerPlatformOrDefault

      long getPerPlatformOrDefault(String key, long defaultValue)
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
    • getPerPlatformOrThrow

      long getPerPlatformOrThrow(String key)
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;