Interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder (1.40.0)

public interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getChainName()

public abstract String getChainName()

Chain name that the snapshot is created in.

optional string chain_name = 68644169;

Returns
TypeDescription
String

The chainName.

getChainNameBytes()

public abstract ByteString getChainNameBytes()

Chain name that the snapshot is created in.

optional string chain_name = 68644169;

Returns
TypeDescription
ByteString

The bytes for chainName.

getGuestFlush()

public abstract boolean getGuestFlush()

Indication to perform a 'guest aware' snapshot.

optional bool guest_flush = 385550813;

Returns
TypeDescription
boolean

The guestFlush.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract 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;

Returns
TypeDescription
int

getLabelsMap()

public abstract 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;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getStorageLocations(int index)

public abstract String getStorageLocations(int index)

Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

repeated string storage_locations = 328005274;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The storageLocations at the given index.

getStorageLocationsBytes(int index)

public abstract ByteString getStorageLocationsBytes(int index)

Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

repeated string storage_locations = 328005274;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the storageLocations at the given index.

getStorageLocationsCount()

public abstract int getStorageLocationsCount()

Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

repeated string storage_locations = 328005274;

Returns
TypeDescription
int

The count of storageLocations.

getStorageLocationsList()

public abstract List<String> getStorageLocationsList()

Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

repeated string storage_locations = 328005274;

Returns
TypeDescription
List<String>

A list containing the storageLocations.

hasChainName()

public abstract boolean hasChainName()

Chain name that the snapshot is created in.

optional string chain_name = 68644169;

Returns
TypeDescription
boolean

Whether the chainName field is set.

hasGuestFlush()

public abstract boolean hasGuestFlush()

Indication to perform a 'guest aware' snapshot.

optional bool guest_flush = 385550813;

Returns
TypeDescription
boolean

Whether the guestFlush field is set.