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 Summary
Modifier and TypeMethodDescriptionbooleanDefaults to false.getGcs()A Cloud Storage object.A Cloud Storage object.A local path within the VM to use.com.google.protobuf.ByteStringA local path within the VM to use.A generic remote file.A generic remote file.booleanhasGcs()A Cloud Storage object.booleanA local path within the VM to use.booleanA generic remote file.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
OSPolicy.Resource.File.Remote getRemote()A generic remote file.
.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote remote = 1;- Returns:
- The remote.
-
getRemoteOrBuilder
OSPolicy.Resource.File.RemoteOrBuilder 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
OSPolicy.Resource.File.Gcs getGcs()A Cloud Storage object.
.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs gcs = 2;- Returns:
- The gcs.
-
getGcsOrBuilder
OSPolicy.Resource.File.GcsOrBuilder 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
OSPolicy.Resource.File.TypeCase getTypeCase()
-