- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GuestPolicies.SoftwareRecipe.Artifact.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
build()
public GuestPolicies.SoftwareRecipe.Artifact build()
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact |
buildPartial()
public GuestPolicies.SoftwareRecipe.Artifact buildPartial()
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact |
clear()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clear()
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
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;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder | This builder for chaining. |
clearArtifact()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearArtifact()
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
clearGcs()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearGcs()
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
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];
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
clearRemote()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clearRemote()
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
clone()
public GuestPolicies.SoftwareRecipe.Artifact.Builder clone()
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
getAllowInsecure()
public 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;
Type | Description |
boolean | The allowInsecure. |
getArtifactCase()
public GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase getArtifactCase()
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase |
getDefaultInstanceForType()
public GuestPolicies.SoftwareRecipe.Artifact getDefaultInstanceForType()
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGcs()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs()
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Gcs | The gcs. |
getGcsBuilder()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder getGcsBuilder()
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder |
getGcsOrBuilder()
public GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder()
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder |
getId()
public 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];
Type | Description |
String | The id. |
getIdBytes()
public 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];
Type | Description |
ByteString | The bytes for id. |
getRemote()
public GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote()
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Remote | The remote. |
getRemoteBuilder()
public GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder getRemoteBuilder()
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder |
getRemoteOrBuilder()
public GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder()
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder |
hasGcs()
public boolean hasGcs()
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Type | Description |
boolean | Whether the gcs field is set. |
hasRemote()
public boolean hasRemote()
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Type | Description |
boolean | Whether the remote field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GuestPolicies.SoftwareRecipe.Artifact other)
public GuestPolicies.SoftwareRecipe.Artifact.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Artifact other)
Name | Description |
other | GuestPolicies.SoftwareRecipe.Artifact |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GuestPolicies.SoftwareRecipe.Artifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GuestPolicies.SoftwareRecipe.Artifact.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
mergeGcs(GuestPolicies.SoftwareRecipe.Artifact.Gcs value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder mergeGcs(GuestPolicies.SoftwareRecipe.Artifact.Gcs value)
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Name | Description |
value | GuestPolicies.SoftwareRecipe.Artifact.Gcs |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
mergeRemote(GuestPolicies.SoftwareRecipe.Artifact.Remote value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder mergeRemote(GuestPolicies.SoftwareRecipe.Artifact.Remote value)
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Name | Description |
value | GuestPolicies.SoftwareRecipe.Artifact.Remote |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.SoftwareRecipe.Artifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
setAllowInsecure(boolean value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setAllowInsecure(boolean value)
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;
Name | Description |
value | boolean The allowInsecure to set. |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
setGcs(GuestPolicies.SoftwareRecipe.Artifact.Gcs value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setGcs(GuestPolicies.SoftwareRecipe.Artifact.Gcs value)
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Name | Description |
value | GuestPolicies.SoftwareRecipe.Artifact.Gcs |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
setGcs(GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder builderForValue)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setGcs(GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder builderForValue)
A Google Cloud Storage artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;
Name | Description |
builderForValue | GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
setId(String value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setId(String value)
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];
Name | Description |
value | String The id to set. |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder | This builder for chaining. |
setRemote(GuestPolicies.SoftwareRecipe.Artifact.Remote value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setRemote(GuestPolicies.SoftwareRecipe.Artifact.Remote value)
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Name | Description |
value | GuestPolicies.SoftwareRecipe.Artifact.Remote |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
setRemote(GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder builderForValue)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setRemote(GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder builderForValue)
A generic remote artifact.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;
Name | Description |
builderForValue | GuestPolicies.SoftwareRecipe.Artifact.Remote.Builder |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.SoftwareRecipe.Artifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.SoftwareRecipe.Artifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GuestPolicies.SoftwareRecipe.Artifact.Builder |