public final class ResourcePolicySnapshotSchedulePolicySnapshotProperties extends com.google.protobuf.GeneratedMessageV3 implements ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder
Specified snapshot properties for scheduled snapshots created by this policy.Protobuf type
google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties| Modifier and Type | Class and Description |
|---|---|
static class |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder
Specified snapshot properties for scheduled snapshots created by this policy.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHAIN_NAME_FIELD_NUMBER |
static int |
GUEST_FLUSH_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
STORAGE_LOCATIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels to apply to scheduled snapshots.
|
boolean |
equals(Object obj) |
String |
getChainName()
Chain name that the snapshot is created in.
|
com.google.protobuf.ByteString |
getChainNameBytes()
Chain name that the snapshot is created in.
|
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
getDefaultInstance() |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<ResourcePolicySnapshotSchedulePolicySnapshotProperties> |
getParserForType() |
int |
getSerializedSize() |
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).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasChainName()
Chain name that the snapshot is created in.
|
boolean |
hasGuestFlush()
Indication to perform a 'guest aware' snapshot.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
newBuilder() |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
newBuilder(ResourcePolicySnapshotSchedulePolicySnapshotProperties prototype) |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
newBuilderForType() |
protected ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseDelimitedFrom(InputStream input) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(byte[] data) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(ByteBuffer data) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(com.google.protobuf.ByteString data) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(InputStream input) |
static ResourcePolicySnapshotSchedulePolicySnapshotProperties |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ResourcePolicySnapshotSchedulePolicySnapshotProperties> |
parser() |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CHAIN_NAME_FIELD_NUMBER
public static final int GUEST_FLUSH_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int STORAGE_LOCATIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder newBuilder()
public static ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder newBuilder(ResourcePolicySnapshotSchedulePolicySnapshotProperties prototype)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ResourcePolicySnapshotSchedulePolicySnapshotProperties getDefaultInstance()
public static com.google.protobuf.Parser<ResourcePolicySnapshotSchedulePolicySnapshotProperties> parser()
public com.google.protobuf.Parser<ResourcePolicySnapshotSchedulePolicySnapshotProperties> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ResourcePolicySnapshotSchedulePolicySnapshotProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.