Class Registry.Image.Sizes.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Registry.Image.Sizes.Builder>
com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder>
namespace.cloud.registry.v1beta.Registry.Image.Sizes.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Registry.Image.SizesOrBuilder
Enclosing class:
Registry.Image.Sizes

public static final class Registry.Image.Sizes.Builder extends com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder> implements Registry.Image.SizesOrBuilder
Protobuf type namespace.cloud.registry.v1beta.Image.Sizes
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder>
    • getDefaultInstanceForType

      public Registry.Image.Sizes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Registry.Image.Sizes build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Registry.Image.Sizes buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Registry.Image.Sizes.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Registry.Image.Sizes.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Sizes.Builder>
    • mergeFrom

      public Registry.Image.Sizes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Registry.Image.Sizes.Builder>
      Throws:
      IOException
    • getTotal

      public long getTotal()
       Total size of the image in bytes.
       
      int64 total = 1;
      Specified by:
      getTotal in interface Registry.Image.SizesOrBuilder
      Returns:
      The total.
    • setTotal

      public Registry.Image.Sizes.Builder setTotal(long value)
       Total size of the image in bytes.
       
      int64 total = 1;
      Parameters:
      value - The total to set.
      Returns:
      This builder for chaining.
    • clearTotal

      public Registry.Image.Sizes.Builder clearTotal()
       Total size of the image in bytes.
       
      int64 total = 1;
      Returns:
      This builder for chaining.
    • getPerPlatformCount

      public int getPerPlatformCount()
      Description copied from interface: Registry.Image.SizesOrBuilder
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
      Specified by:
      getPerPlatformCount in interface Registry.Image.SizesOrBuilder
    • containsPerPlatform

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

      @Deprecated public Map<String,Long> getPerPlatform()
      Deprecated.
      Use getPerPlatformMap() instead.
      Specified by:
      getPerPlatform in interface Registry.Image.SizesOrBuilder
    • getPerPlatformMap

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

      public 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;
      Specified by:
      getPerPlatformOrDefault in interface Registry.Image.SizesOrBuilder
    • getPerPlatformOrThrow

      public long getPerPlatformOrThrow(String key)
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
      Specified by:
      getPerPlatformOrThrow in interface Registry.Image.SizesOrBuilder
    • clearPerPlatform

      public Registry.Image.Sizes.Builder clearPerPlatform()
    • removePerPlatform

      public Registry.Image.Sizes.Builder removePerPlatform(String key)
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
    • getMutablePerPlatform

      @Deprecated public Map<String,Long> getMutablePerPlatform()
      Deprecated.
      Use alternate mutation accessors instead.
    • putPerPlatform

      public Registry.Image.Sizes.Builder putPerPlatform(String key, long value)
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;
    • putAllPerPlatform

      public Registry.Image.Sizes.Builder putAllPerPlatform(Map<String,Long> values)
       Size per platform in bytes. Keys are platform identifiers (e.g., "linux/amd64").
       
      map<string, int64> per_platform = 2;