Send feedback
Class GuestPolicies.SoftwareRecipe.Step.CopyFile (2.37.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.37.0 keyboard_arrow_down
public static final class GuestPolicies . SoftwareRecipe . Step . CopyFile extends GeneratedMessageV3 implements GuestPolicies . SoftwareRecipe . Step . CopyFileOrBuilder
Copies the artifact to the specified path on the instance.
Protobuf type google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARTIFACT_ID_FIELD_NUMBER
public static final int ARTIFACT_ID_FIELD_NUMBER
Field Value Type Description int
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
Field Value Type Description int
OVERWRITE_FIELD_NUMBER
public static final int OVERWRITE_FIELD_NUMBER
Field Value Type Description int
PERMISSIONS_FIELD_NUMBER
public static final int PERMISSIONS_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static GuestPolicies . SoftwareRecipe . Step . CopyFile getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GuestPolicies . SoftwareRecipe . Step . CopyFile . Builder newBuilder ()
newBuilder(GuestPolicies.SoftwareRecipe.Step.CopyFile prototype)
public static GuestPolicies . SoftwareRecipe . Step . CopyFile . Builder newBuilder ( GuestPolicies . SoftwareRecipe . Step . CopyFile prototype )
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseDelimitedFrom ( InputStream input )
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( CodedInputStream input )
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( InputStream input )
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies . SoftwareRecipe . Step . CopyFile parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GuestPolicies . SoftwareRecipe . Step . CopyFile > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getArtifactId()
public String getArtifactId ()
Required. The id of the relevant artifact in the recipe.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The artifactId.
getArtifactIdBytes()
public ByteString getArtifactIdBytes ()
Required. The id of the relevant artifact in the recipe.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for artifactId.
getDefaultInstanceForType()
public GuestPolicies . SoftwareRecipe . Step . CopyFile getDefaultInstanceForType ()
getDestination()
public String getDestination ()
Required. The absolute path on the instance to put the file.
string destination = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The destination.
getDestinationBytes()
public ByteString getDestinationBytes ()
Required. The absolute path on the instance to put the file.
string destination = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for destination.
getOverwrite()
public boolean getOverwrite ()
Whether to allow this step to overwrite existing files. If this is
false and the file already exists the file is not overwritten
and the step is considered a success. Defaults to false.
bool overwrite = 3;
Returns Type Description boolean
The overwrite.
getParserForType()
public Parser<GuestPolicies . SoftwareRecipe . Step . CopyFile > getParserForType ()
Overrides
getPermissions()
public String getPermissions ()
Consists of three octal digits which represent, in
order, the permissions of the owner, group, and other users for the
file (similarly to the numeric mode used in the linux chmod utility).
Each digit represents a three bit number with the 4 bit
corresponding to the read permissions, the 2 bit corresponds to the
write bit, and the one bit corresponds to the execute permission.
Default behavior is 755.
Below are some examples of permissions and their associated values:
read, write, and execute: 7
read and execute: 5
read and write: 6
read only: 4
string permissions = 4;
Returns Type Description String
The permissions.
getPermissionsBytes()
public ByteString getPermissionsBytes ()
Consists of three octal digits which represent, in
order, the permissions of the owner, group, and other users for the
file (similarly to the numeric mode used in the linux chmod utility).
Each digit represents a three bit number with the 4 bit
corresponding to the read permissions, the 2 bit corresponds to the
write bit, and the one bit corresponds to the execute permission.
Default behavior is 755.
Below are some examples of permissions and their associated values:
read, write, and execute: 7
read and execute: 5
read and write: 6
read only: 4
string permissions = 4;
Returns Type Description ByteString
The bytes for permissions.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public GuestPolicies . SoftwareRecipe . Step . CopyFile . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies . SoftwareRecipe . Step . CopyFile . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public GuestPolicies . SoftwareRecipe . Step . CopyFile . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]