Package com.google.cloud.osconfig.v1beta
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 Summary
Modifier and TypeMethodDescriptionbooleanDefaults to false.getGcs()A Google Cloud Storage artifact.A Google Cloud Storage artifact.getId()Required.com.google.protobuf.ByteStringRequired.A generic remote artifact.A generic remote artifact.booleanhasGcs()A Google Cloud Storage artifact.booleanA generic remote artifact.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote()A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;- Returns:
- The remote.
-
getRemoteOrBuilder
GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder 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
GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder 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
GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase getArtifactCase()
-