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
@Generated
public interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels to apply to scheduled snapshots.Chain name that the snapshot is created in.com.google.protobuf.ByteStringChain name that the snapshot is created in.booleanIndication to perform a 'guest aware' snapshot.Deprecated.intLabels to apply to scheduled snapshots.Labels to apply to scheduled snapshots.getLabelsOrDefault(String key, String defaultValue) Labels to apply to scheduled snapshots.getLabelsOrThrow(String key) Labels to apply to scheduled snapshots.getStorageLocations(int index) Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).com.google.protobuf.ByteStringgetStorageLocationsBytes(int index) Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).intCloud Storage bucket storage location of the auto snapshot (regional or multi-regional).Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).booleanChain name that the snapshot is created in.booleanIndication to perform a 'guest aware' snapshot.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
-
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
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.UsegetLabelsMap()instead. -
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
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
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
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
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.
-