Interface GuestPolicies.SoftwareRecipe.ArtifactOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GuestPolicies.SoftwareRecipe.Artifact, GuestPolicies.SoftwareRecipe.Artifact.Builder
Enclosing class:
GuestPolicies.SoftwareRecipe

public static interface GuestPolicies.SoftwareRecipe.ArtifactOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      String getId()
       Required. Id of the artifact, which the installation and update steps of this
       recipe can reference. Artifacts in a recipe cannot have the same id.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Required. Id of the artifact, which the installation and update steps of this
       recipe can reference. Artifacts in a recipe cannot have the same id.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for id.
    • hasRemote

      boolean hasRemote()
       A generic remote artifact.
       
      .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
      Returns:
      Whether the remote field is set.
    • getRemote

       A generic remote artifact.
       
      .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
      Returns:
      The remote.
    • getRemoteOrBuilder

       A generic remote artifact.
       
      .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
    • hasGcs

      boolean hasGcs()
       A Google Cloud Storage artifact.
       
      .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
      Returns:
      Whether the gcs field is set.
    • getGcs

       A Google Cloud Storage artifact.
       
      .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
      Returns:
      The gcs.
    • getGcsOrBuilder

       A Google Cloud Storage artifact.
       
      .google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
    • getAllowInsecure

      boolean getAllowInsecure()
       Defaults to false. When false, recipes are subject to validations
       based on the artifact type:
      
       Remote: A checksum must be specified, and only protocols with
       transport-layer security are permitted.
       GCS:    An object generation number must be specified.
       
      bool allow_insecure = 4;
      Returns:
      The allowInsecure.
    • getArtifactCase