Class Compute.ContainerCache.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ContainerCache.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerCache.Builder>
namespace.cloud.compute.v1beta.Compute.ContainerCache.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Compute.ContainerCacheOrBuilder
Enclosing class:
Compute.ContainerCache

public static final class Compute.ContainerCache.Builder extends com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerCache.Builder> implements Compute.ContainerCacheOrBuilder
Protobuf type namespace.cloud.compute.v1beta.ContainerCache
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerCache.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<Compute.ContainerCache.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<Compute.ContainerCache.Builder>
    • getDefaultInstanceForType

      public Compute.ContainerCache getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Compute.ContainerCache build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Compute.ContainerCache buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Compute.ContainerCache.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<Compute.ContainerCache.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<Compute.ContainerCache.Builder>
    • mergeFrom

      public Compute.ContainerCache.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<Compute.ContainerCache.Builder>
      Throws:
      IOException
    • getCacheVolumeTag

      public String getCacheVolumeTag()
       Which cache volume to use to store container images.
       
      string cache_volume_tag = 1;
      Specified by:
      getCacheVolumeTag in interface Compute.ContainerCacheOrBuilder
      Returns:
      The cacheVolumeTag.
    • getCacheVolumeTagBytes

      public com.google.protobuf.ByteString getCacheVolumeTagBytes()
       Which cache volume to use to store container images.
       
      string cache_volume_tag = 1;
      Specified by:
      getCacheVolumeTagBytes in interface Compute.ContainerCacheOrBuilder
      Returns:
      The bytes for cacheVolumeTag.
    • setCacheVolumeTag

      public Compute.ContainerCache.Builder setCacheVolumeTag(String value)
       Which cache volume to use to store container images.
       
      string cache_volume_tag = 1;
      Parameters:
      value - The cacheVolumeTag to set.
      Returns:
      This builder for chaining.
    • clearCacheVolumeTag

      public Compute.ContainerCache.Builder clearCacheVolumeTag()
       Which cache volume to use to store container images.
       
      string cache_volume_tag = 1;
      Returns:
      This builder for chaining.
    • setCacheVolumeTagBytes

      public Compute.ContainerCache.Builder setCacheVolumeTagBytes(com.google.protobuf.ByteString value)
       Which cache volume to use to store container images.
       
      string cache_volume_tag = 1;
      Parameters:
      value - The bytes for cacheVolumeTag to set.
      Returns:
      This builder for chaining.
    • getSizeMb

      public long getSizeMb()
       If this is a separate volume, the size of the volume is required. Must not be set if this is an existing tag.
       
      int64 size_mb = 2;
      Specified by:
      getSizeMb in interface Compute.ContainerCacheOrBuilder
      Returns:
      The sizeMb.
    • setSizeMb

      public Compute.ContainerCache.Builder setSizeMb(long value)
       If this is a separate volume, the size of the volume is required. Must not be set if this is an existing tag.
       
      int64 size_mb = 2;
      Parameters:
      value - The sizeMb to set.
      Returns:
      This builder for chaining.
    • clearSizeMb

      public Compute.ContainerCache.Builder clearSizeMb()
       If this is a separate volume, the size of the volume is required. Must not be set if this is an existing tag.
       
      int64 size_mb = 2;
      Returns:
      This builder for chaining.
    • getRelativePath

      public String getRelativePath()
       If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
       
      string relative_path = 3;
      Specified by:
      getRelativePath in interface Compute.ContainerCacheOrBuilder
      Returns:
      The relativePath.
    • getRelativePathBytes

      public com.google.protobuf.ByteString getRelativePathBytes()
       If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
       
      string relative_path = 3;
      Specified by:
      getRelativePathBytes in interface Compute.ContainerCacheOrBuilder
      Returns:
      The bytes for relativePath.
    • setRelativePath

      public Compute.ContainerCache.Builder setRelativePath(String value)
       If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
       
      string relative_path = 3;
      Parameters:
      value - The relativePath to set.
      Returns:
      This builder for chaining.
    • clearRelativePath

      public Compute.ContainerCache.Builder clearRelativePath()
       If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
       
      string relative_path = 3;
      Returns:
      This builder for chaining.
    • setRelativePathBytes

      public Compute.ContainerCache.Builder setRelativePathBytes(com.google.protobuf.ByteString value)
       If this is an existing volume (i.e. for which a volume request exists), the relative path within that volume to use. Optional.
       
      string relative_path = 3;
      Parameters:
      value - The bytes for relativePath to set.
      Returns:
      This builder for chaining.