Package com.google.cloud.osconfig.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowInsecure()
Defaults to false.OSPolicy.Resource.File.Gcs
getGcs()
A Cloud Storage object.OSPolicy.Resource.File.GcsOrBuilder
getGcsOrBuilder()
A Cloud Storage object.String
getLocalPath()
A local path within the VM to use.com.google.protobuf.ByteString
getLocalPathBytes()
A local path within the VM to use.OSPolicy.Resource.File.Remote
getRemote()
A generic remote file.OSPolicy.Resource.File.RemoteOrBuilder
getRemoteOrBuilder()
A generic remote file.OSPolicy.Resource.File.TypeCase
getTypeCase()
boolean
hasGcs()
A Cloud Storage object.boolean
hasLocalPath()
A local path within the VM to use.boolean
hasRemote()
A generic remote file.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRemote
boolean hasRemote()
A generic remote file.
.google.cloud.osconfig.v1.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.v1.OSPolicy.Resource.File.Remote remote = 1;
- Returns:
- The remote.
-
getRemoteOrBuilder
OSPolicy.Resource.File.RemoteOrBuilder getRemoteOrBuilder()
A generic remote file.
.google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote remote = 1;
-
hasGcs
boolean hasGcs()
A Cloud Storage object.
.google.cloud.osconfig.v1.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.v1.OSPolicy.Resource.File.Gcs gcs = 2;
- Returns:
- The gcs.
-
getGcsOrBuilder
OSPolicy.Resource.File.GcsOrBuilder getGcsOrBuilder()
A Cloud Storage object.
.google.cloud.osconfig.v1.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()
-
-