- 2.56.0 (latest)
- 2.55.0
- 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.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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GuestPolicies.SoftwareRecipe.Step.CopyFileStatic 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()
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder newBuilder()
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder |
newBuilder(GuestPolicies.SoftwareRecipe.Step.CopyFile prototype)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder newBuilder(GuestPolicies.SoftwareRecipe.Step.CopyFile prototype)
Parameter | |
---|---|
Name | Description |
prototype | GuestPolicies.SoftwareRecipe.Step.CopyFile |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder |
parseDelimitedFrom(InputStream input)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step.CopyFile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GuestPolicies.SoftwareRecipe.Step.CopyFile> parser()
Returns | |
---|---|
Type | Description |
Parser<CopyFile> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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()
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile |
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()
Returns | |
---|---|
Type | Description |
Parser<CopyFile> |
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 |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder toBuilder()
Returns | |
---|---|
Type | Description |
GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |