- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder extends GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder> implements ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder
Specified snapshot properties for scheduled snapshots created by this policy.
Protobuf type
google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourcePolicySnapshotSchedulePolicySnapshotProperties.BuilderMethods
addAllStorageLocations(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The storageLocations to add. |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
addStorageLocations(String value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addStorageLocations(String value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Name | Description |
value | String The storageLocations to add. |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
addStorageLocationsBytes(ByteString value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addStorageLocationsBytes(ByteString value)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Name | Description |
value | ByteString The bytes of the storageLocations to add. |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
build()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties build()
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
buildPartial()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties buildPartial()
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
clear()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clear()
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearChainName()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearGuestFlush()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
clearLabels()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearLabels()
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearStorageLocations()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearStorageLocations()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
clone()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clone()
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
containsLabels(String key)
public 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;
Name | Description |
key | String |
Type | Description |
boolean |
getChainName()
public String getChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Type | Description |
String | The chainName. |
getChainNameBytes()
public ByteString getChainNameBytes()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Type | Description |
ByteString | The bytes for chainName. |
getDefaultInstanceForType()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties getDefaultInstanceForType()
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGuestFlush()
public boolean getGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
Type | Description |
boolean | The guestFlush. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public 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;
Type | Description |
int |
getLabelsMap()
public 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;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public 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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public 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;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getStorageLocations(int index)
public String getStorageLocations(int index)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The storageLocations at the given index. |
getStorageLocationsBytes(int index)
public ByteString getStorageLocationsBytes(int index)
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the storageLocations at the given index. |
getStorageLocationsCount()
public int getStorageLocationsCount()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Type | Description |
int | The count of storageLocations. |
getStorageLocationsList()
public ProtocolStringList getStorageLocationsList()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Type | Description |
ProtocolStringList | A list containing the storageLocations. |
hasChainName()
public boolean hasChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Type | Description |
boolean | Whether the chainName field is set. |
hasGuestFlush()
public boolean hasGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
Type | Description |
boolean | Whether the guestFlush field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ResourcePolicySnapshotSchedulePolicySnapshotProperties other)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicySnapshotProperties other)
Name | Description |
other | ResourcePolicySnapshotSchedulePolicySnapshotProperties |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
putAllLabels(Map<String,String> values)
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;
Name | Description |
values | Map<String,String> |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
putLabels(String key, String value)
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;
Name | Description |
key | String |
value | String |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
removeLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setChainName(String value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setChainName(String value)
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Name | Description |
value | String The chainName to set. |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
setChainNameBytes(ByteString value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setChainNameBytes(ByteString value)
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Name | Description |
value | ByteString The bytes for chainName to set. |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setGuestFlush(boolean value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setGuestFlush(boolean value)
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
Name | Description |
value | boolean The guestFlush to set. |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
setStorageLocations(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The storageLocations to set. |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |