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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowInsecure()
Defaults to false.GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase
getArtifactCase()
GuestPolicies.SoftwareRecipe.Artifact.Gcs
getGcs()
A Google Cloud Storage artifact.GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder
getGcsOrBuilder()
A Google Cloud Storage artifact.String
getId()
Required.com.google.protobuf.ByteString
getIdBytes()
Required.GuestPolicies.SoftwareRecipe.Artifact.Remote
getRemote()
A generic remote artifact.GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder
getRemoteOrBuilder()
A generic remote artifact.boolean
hasGcs()
A Google Cloud Storage artifact.boolean
hasRemote()
A generic remote artifact.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
GuestPolicies.SoftwareRecipe.Artifact.Gcs 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()
-
-