Interface OSPolicy.Resource.FileOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OSPolicy.Resource.File, OSPolicy.Resource.File.Builder
Enclosing class:
OSPolicy.Resource

public static interface OSPolicy.Resource.FileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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

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

       A generic remote file.
       
      .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1;
    • 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

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

       A Cloud Storage object.
       
      .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2;
    • 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.
    • getTypeCase