java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Blueprint.Builder
All Implemented Interfaces:
BlueprintOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Blueprint

public static final class Blueprint.Builder extends com.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder> implements BlueprintOrBuilder
 Blueprints are OCI Images that contain all of the artifacts needed to
 provision a unit. Metadata such as, type of the engine used to actuate the
 blueprint (e.g. terraform, helm etc) and version will come from the image
 manifest. If the hostname is omitted, it will be assumed to be the regional
 path to Artifact Registry (eg. us-east1-docker.pkg.dev).
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Blueprint
  • 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<Blueprint.Builder>
    • clear

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

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

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

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

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

      public Blueprint.Builder mergeFrom(Blueprint other)
    • isInitialized

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

      public Blueprint.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<Blueprint.Builder>
      Throws:
      IOException
    • getPackage

      public String getPackage()
       Optional. Immutable. URI to a blueprint used by the Unit (required unless
       unitKind or release is set).
       
      string package = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPackage in interface BlueprintOrBuilder
      Returns:
      The package.
    • getPackageBytes

      public com.google.protobuf.ByteString getPackageBytes()
       Optional. Immutable. URI to a blueprint used by the Unit (required unless
       unitKind or release is set).
       
      string package = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPackageBytes in interface BlueprintOrBuilder
      Returns:
      The bytes for package.
    • setPackage

      public Blueprint.Builder setPackage(String value)
       Optional. Immutable. URI to a blueprint used by the Unit (required unless
       unitKind or release is set).
       
      string package = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The package to set.
      Returns:
      This builder for chaining.
    • clearPackage

      public Blueprint.Builder clearPackage()
       Optional. Immutable. URI to a blueprint used by the Unit (required unless
       unitKind or release is set).
       
      string package = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setPackageBytes

      public Blueprint.Builder setPackageBytes(com.google.protobuf.ByteString value)
       Optional. Immutable. URI to a blueprint used by the Unit (required unless
       unitKind or release is set).
       
      string package = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for package to set.
      Returns:
      This builder for chaining.
    • getEngine

      public String getEngine()
       Output only. Type of the engine used to actuate the blueprint. e.g.
       terraform, helm etc.
       
      string engine = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEngine in interface BlueprintOrBuilder
      Returns:
      The engine.
    • getEngineBytes

      public com.google.protobuf.ByteString getEngineBytes()
       Output only. Type of the engine used to actuate the blueprint. e.g.
       terraform, helm etc.
       
      string engine = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEngineBytes in interface BlueprintOrBuilder
      Returns:
      The bytes for engine.
    • setEngine

      public Blueprint.Builder setEngine(String value)
       Output only. Type of the engine used to actuate the blueprint. e.g.
       terraform, helm etc.
       
      string engine = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The engine to set.
      Returns:
      This builder for chaining.
    • clearEngine

      public Blueprint.Builder clearEngine()
       Output only. Type of the engine used to actuate the blueprint. e.g.
       terraform, helm etc.
       
      string engine = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEngineBytes

      public Blueprint.Builder setEngineBytes(com.google.protobuf.ByteString value)
       Output only. Type of the engine used to actuate the blueprint. e.g.
       terraform, helm etc.
       
      string engine = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for engine to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       Output only. Version metadata if present on the blueprint.
       
      string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVersion in interface BlueprintOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Output only. Version metadata if present on the blueprint.
       
      string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVersionBytes in interface BlueprintOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public Blueprint.Builder setVersion(String value)
       Output only. Version metadata if present on the blueprint.
       
      string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Blueprint.Builder clearVersion()
       Output only. Version metadata if present on the blueprint.
       
      string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public Blueprint.Builder setVersionBytes(com.google.protobuf.ByteString value)
       Output only. Version metadata if present on the blueprint.
       
      string version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.