Class GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder>
      • getDefaultInstanceForType

        public GuestPolicies.SoftwareRecipe.Step.CopyFile getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GuestPolicies.SoftwareRecipe.Step.CopyFile build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GuestPolicies.SoftwareRecipe.Step.CopyFile buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder>
      • setArtifactId

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder setArtifactId​(String value)
         Required. The id of the relevant artifact in the recipe.
         
        string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The artifactId to set.
        Returns:
        This builder for chaining.
      • clearArtifactId

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder clearArtifactId()
         Required. The id of the relevant artifact in the recipe.
         
        string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setArtifactIdBytes

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder setArtifactIdBytes​(com.google.protobuf.ByteString value)
         Required. The id of the relevant artifact in the recipe.
         
        string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for artifactId to set.
        Returns:
        This builder for chaining.
      • setDestination

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder setDestination​(String value)
         Required. The absolute path on the instance to put the file.
         
        string destination = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The destination to set.
        Returns:
        This builder for chaining.
      • clearDestination

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder clearDestination()
         Required. The absolute path on the instance to put the file.
         
        string destination = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDestinationBytes

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder setDestinationBytes​(com.google.protobuf.ByteString value)
         Required. The absolute path on the instance to put the file.
         
        string destination = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for destination to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getOverwrite in interface GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder
        Returns:
        The overwrite.
      • setOverwrite

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder setOverwrite​(boolean value)
         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;
        Parameters:
        value - The overwrite to set.
        Returns:
        This builder for chaining.
      • clearOverwrite

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder clearOverwrite()
         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:
        This builder for chaining.
      • 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;
        Specified by:
        getPermissions in interface GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder
        Returns:
        The permissions.
      • getPermissionsBytes

        public 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;
        Specified by:
        getPermissionsBytes in interface GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder
        Returns:
        The bytes for permissions.
      • setPermissions

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder setPermissions​(String value)
         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;
        Parameters:
        value - The permissions to set.
        Returns:
        This builder for chaining.
      • clearPermissions

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder clearPermissions()
         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:
        This builder for chaining.
      • setPermissionsBytes

        public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder setPermissionsBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for permissions to set.
        Returns:
        This builder for chaining.