Class ReleaseInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReleaseInfo.Builder>
com.google.cloud.configdelivery.v1beta.ReleaseInfo.Builder
All Implemented Interfaces:
ReleaseInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReleaseInfo

public static final class ReleaseInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReleaseInfo.Builder> implements ReleaseInfoOrBuilder
 ReleaseInfo contains extra information about the `ResourceBundle` release
 e.g., link to an artifact registry OCI image.
 
Protobuf type google.cloud.configdelivery.v1beta.ReleaseInfo
  • 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<ReleaseInfo.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public ReleaseInfo.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<ReleaseInfo.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<ReleaseInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ReleaseInfo.Builder mergeFrom(ReleaseInfo other)
    • isInitialized

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

      public ReleaseInfo.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<ReleaseInfo.Builder>
      Throws:
      IOException
    • getOciImagePath

      public String getOciImagePath()
       Output only. path to the oci image the service uploads to on a `Release`
       creation.
       
      string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciImagePath in interface ReleaseInfoOrBuilder
      Returns:
      The ociImagePath.
    • getOciImagePathBytes

      public com.google.protobuf.ByteString getOciImagePathBytes()
       Output only. path to the oci image the service uploads to on a `Release`
       creation.
       
      string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciImagePathBytes in interface ReleaseInfoOrBuilder
      Returns:
      The bytes for ociImagePath.
    • setOciImagePath

      public ReleaseInfo.Builder setOciImagePath(String value)
       Output only. path to the oci image the service uploads to on a `Release`
       creation.
       
      string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The ociImagePath to set.
      Returns:
      This builder for chaining.
    • clearOciImagePath

      public ReleaseInfo.Builder clearOciImagePath()
       Output only. path to the oci image the service uploads to on a `Release`
       creation.
       
      string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setOciImagePathBytes

      public ReleaseInfo.Builder setOciImagePathBytes(com.google.protobuf.ByteString value)
       Output only. path to the oci image the service uploads to on a `Release`
       creation.
       
      string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for ociImagePath to set.
      Returns:
      This builder for chaining.
    • getVariantOciImagePathsCount

      public int getVariantOciImagePathsCount()
      Description copied from interface: ReleaseInfoOrBuilder
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVariantOciImagePathsCount in interface ReleaseInfoOrBuilder
    • containsVariantOciImagePaths

      public boolean containsVariantOciImagePaths(String key)
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      containsVariantOciImagePaths in interface ReleaseInfoOrBuilder
    • getVariantOciImagePaths

      @Deprecated public Map<String,String> getVariantOciImagePaths()
      Deprecated.
      Specified by:
      getVariantOciImagePaths in interface ReleaseInfoOrBuilder
    • getVariantOciImagePathsMap

      public Map<String,String> getVariantOciImagePathsMap()
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVariantOciImagePathsMap in interface ReleaseInfoOrBuilder
    • getVariantOciImagePathsOrDefault

      public String getVariantOciImagePathsOrDefault(String key, String defaultValue)
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVariantOciImagePathsOrDefault in interface ReleaseInfoOrBuilder
    • getVariantOciImagePathsOrThrow

      public String getVariantOciImagePathsOrThrow(String key)
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVariantOciImagePathsOrThrow in interface ReleaseInfoOrBuilder
    • clearVariantOciImagePaths

      public ReleaseInfo.Builder clearVariantOciImagePaths()
    • removeVariantOciImagePaths

      public ReleaseInfo.Builder removeVariantOciImagePaths(String key)
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMutableVariantOciImagePaths

      @Deprecated public Map<String,String> getMutableVariantOciImagePaths()
      Deprecated.
      Use alternate mutation accessors instead.
    • putVariantOciImagePaths

      public ReleaseInfo.Builder putVariantOciImagePaths(String key, String value)
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • putAllVariantOciImagePaths

      public ReleaseInfo.Builder putAllVariantOciImagePaths(Map<String,String> values)
       Output only. per-variant paths to the oci images the service uploads on
       package release creation
       
      map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];