Package com.google.cloud.compute.v1
Interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicySnapshotSchedulePolicySnapshotProperties
,ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder
public interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels to apply to scheduled snapshots.String
getChainName()
Chain name that the snapshot is created in.com.google.protobuf.ByteString
getChainNameBytes()
Chain name that the snapshot is created in.boolean
getGuestFlush()
Indication to perform a 'guest aware' snapshot.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels to apply to scheduled snapshots.Map<String,String>
getLabelsMap()
Labels to apply to scheduled snapshots.String
getLabelsOrDefault(String key, String defaultValue)
Labels to apply to scheduled snapshots.String
getLabelsOrThrow(String key)
Labels to apply to scheduled snapshots.String
getStorageLocations(int index)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).com.google.protobuf.ByteString
getStorageLocationsBytes(int index)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).int
getStorageLocationsCount()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).List<String>
getStorageLocationsList()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).boolean
hasChainName()
Chain name that the snapshot is created in.boolean
hasGuestFlush()
Indication to perform a 'guest aware' snapshot.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasChainName
boolean hasChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
- Returns:
- Whether the chainName field is set.
-
getChainName
String getChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
- Returns:
- The chainName.
-
getChainNameBytes
com.google.protobuf.ByteString getChainNameBytes()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
- Returns:
- The bytes for chainName.
-
hasGuestFlush
boolean hasGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
- Returns:
- Whether the guestFlush field is set.
-
getGuestFlush
boolean getGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
- Returns:
- The guestFlush.
-
getLabelsCount
int getLabelsCount()
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;
-
containsLabels
boolean containsLabels(String key)
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;
-
getStorageLocationsList
List<String> getStorageLocationsList()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
- Returns:
- A list containing the storageLocations.
-
getStorageLocationsCount
int getStorageLocationsCount()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
- Returns:
- The count of storageLocations.
-
getStorageLocations
String getStorageLocations(int index)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
- Parameters:
index
- The index of the element to return.- Returns:
- The storageLocations at the given index.
-
getStorageLocationsBytes
com.google.protobuf.ByteString getStorageLocationsBytes(int index)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the storageLocations at the given index.
-
-