Interface OSPolicy.Resource.FileOrBuilder

    • Method Detail

      • hasRemote

        boolean hasRemote()
         A generic remote file.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1;
        Returns:
        Whether the remote field is set.
      • getRemote

        OSPolicy.Resource.File.Remote getRemote()
         A generic remote file.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1;
        Returns:
        The remote.
      • hasGcs

        boolean hasGcs()
         A Cloud Storage object.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2;
        Returns:
        Whether the gcs field is set.
      • getGcs

        OSPolicy.Resource.File.Gcs getGcs()
         A Cloud Storage object.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2;
        Returns:
        The gcs.
      • hasLocalPath

        boolean hasLocalPath()
         A local path within the VM to use.
         
        string local_path = 3;
        Returns:
        Whether the localPath field is set.
      • getLocalPath

        String getLocalPath()
         A local path within the VM to use.
         
        string local_path = 3;
        Returns:
        The localPath.
      • getLocalPathBytes

        com.google.protobuf.ByteString getLocalPathBytes()
         A local path within the VM to use.
         
        string local_path = 3;
        Returns:
        The bytes for localPath.
      • getAllowInsecure

        boolean getAllowInsecure()
         Defaults to false. When false, files are subject to validations
         based on the file type:
        
         Remote: A checksum must be specified.
         Cloud Storage: An object generation number must be specified.
         
        bool allow_insecure = 4;
        Returns:
        The allowInsecure.