public static final class GuestPolicies.SoftwareRecipe.Artifact.Builder extends GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Artifact.Builder> implements GuestPolicies.SoftwareRecipe.ArtifactOrBuilder
Specifies a resource to be used in the recipe.
Protobuf type google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GuestPolicies.SoftwareRecipe.Artifact build()
buildPartial()
public GuestPolicies.SoftwareRecipe.Artifact buildPartial()
clear()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clear()
Overrides
clearAllowInsecure()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearAllowInsecure()
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;
clearArtifact()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearArtifact()
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcs()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearGcs()
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
clearId()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearId()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRemote()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearRemote()
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
clone()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clone()
Overrides