Interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder (1.59.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
Name Description
key String
Returns
Type Description
boolean

getChainName()

public abstract String getChainName()

Chain name that the snapshot is created in.

optional string chain_name = 68644169;

Returns
Type Description
String

The chainName.

getChainNameBytes()

public abstract ByteString getChainNameBytes()

Chain name that the snapshot is created in.

optional string chain_name = 68644169;

Returns
Type Description
ByteString

The bytes for chainName.

getGuestFlush()

public abstract boolean getGuestFlush()

Indication to perform a 'guest aware' snapshot.

optional bool guest_flush = 385550813;

Returns
Type Description
boolean

The guestFlush.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the guestFlush field is set.