Interface GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GuestPolicies.SoftwareRecipe.Step.CopyFile, GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder
Enclosing class:
GuestPolicies.SoftwareRecipe.Step

public static interface GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Whether to allow this step to overwrite existing files.
    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).
    com.google.protobuf.ByteString
    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).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getArtifactId

      String getArtifactId()
       Required. The id of the relevant artifact in the recipe.
       
      string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The artifactId.
    • getArtifactIdBytes

      com.google.protobuf.ByteString getArtifactIdBytes()
       Required. The id of the relevant artifact in the recipe.
       
      string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for artifactId.
    • getDestination

      String getDestination()
       Required. The absolute path on the instance to put the file.
       
      string destination = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The destination.
    • getDestinationBytes

      com.google.protobuf.ByteString getDestinationBytes()
       Required. The absolute path on the instance to put the file.
       
      string destination = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for destination.
    • getOverwrite

      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:
      The overwrite.
    • getPermissions

      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:
      The permissions.
    • getPermissionsBytes

      com.google.protobuf.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:
      The bytes for permissions.