public static final class ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder> implements ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder
Specified snapshot properties for scheduled snapshots created by this policy.Protobuf type
google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties| Modifier and Type | Method and Description |
|---|---|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
addAllStorageLocations(Iterable<String> values)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
addStorageLocations(String value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
addStorageLocationsBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
build() |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
buildPartial() |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clear() |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearChainName()
Chain name that the snapshot is created in.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearGuestFlush()
Indication to perform a 'guest aware' snapshot.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearLabels() |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearStorageLocations()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clone() |
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.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
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).
|
com.google.protobuf.ProtocolStringList |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeFrom(com.google.protobuf.Message other) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeFrom(ResourcePolicySnapshotSchedulePolicySnapshotProperties other) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
putAllLabels(Map<String,String> values)
Labels to apply to scheduled snapshots.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
putLabels(String key,
String value)
Labels to apply to scheduled snapshots.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
removeLabels(String key)
Labels to apply to scheduled snapshots.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setChainName(String value)
Chain name that the snapshot is created in.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setChainNameBytes(com.google.protobuf.ByteString value)
Chain name that the snapshot is created in.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setGuestFlush(boolean value)
Indication to perform a 'guest aware' snapshot.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setStorageLocations(int index,
String value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicySnapshotProperties other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>IOExceptionpublic boolean hasChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;hasChainName in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic String getChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;getChainName in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic com.google.protobuf.ByteString getChainNameBytes()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;getChainNameBytes in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setChainName(String value)
Chain name that the snapshot is created in.
optional string chain_name = 68644169;value - The chainName to set.public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setChainNameBytes(com.google.protobuf.ByteString value)
Chain name that the snapshot is created in.
optional string chain_name = 68644169;value - The bytes for chainName to set.public boolean hasGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;hasGuestFlush in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic boolean getGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;getGuestFlush in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setGuestFlush(boolean value)
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;value - The guestFlush to set.public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;public int getLabelsCount()
ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderLabels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsCount in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic 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;containsLabels in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic 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;getLabelsMap in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic 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;getLabelsOrDefault in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic 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;getLabelsOrThrow in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearLabels()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder removeLabels(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;@Deprecated public Map<String,String> getMutableLabels()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder putLabels(String key, String value)
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;public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder putAllLabels(Map<String,String> values)
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;public com.google.protobuf.ProtocolStringList getStorageLocationsList()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;getStorageLocationsList in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic int getStorageLocationsCount()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;getStorageLocationsCount in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderpublic String getStorageLocations(int index)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;getStorageLocations in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderindex - The index of the element to return.public 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;getStorageLocationsBytes in interface ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilderindex - The index of the value to return.public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setStorageLocations(int index, String value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;index - The index to set the value at.value - The storageLocations to set.public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addStorageLocations(String value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;value - The storageLocations to add.public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addAllStorageLocations(Iterable<String> values)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;values - The storageLocations to add.public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearStorageLocations()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addStorageLocationsBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;value - The bytes of the storageLocations to add.public final ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>public final ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder>Copyright © 2023 Google LLC. All rights reserved.