- 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.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The storageLocations to add. |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The storageLocations to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the storageLocations to add. |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
build()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties build()
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
buildPartial()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties buildPartial()
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
clear()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clear()
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearChainName()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearGuestFlush()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
clearLabels()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearLabels()
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
clone()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder clone()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getChainName()
public String getChainName()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Returns | |
---|---|
Type | Description |
String | The chainName. |
getChainNameBytes()
public ByteString getChainNameBytes()
Chain name that the snapshot is created in.
optional string chain_name = 68644169;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for chainName. |
getDefaultInstanceForType()
public ResourcePolicySnapshotSchedulePolicySnapshotProperties getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGuestFlush()
public boolean getGuestFlush()
Indication to perform a 'guest aware' snapshot.
optional bool guest_flush = 385550813;
Returns | |
---|---|
Type | Description |
boolean | The guestFlush. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
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;
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 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 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 ProtocolStringList getStorageLocationsList()
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the guestFlush field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResourcePolicySnapshotSchedulePolicySnapshotProperties other)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicySnapshotProperties other)
Parameter | |
---|---|
Name | Description |
other | ResourcePolicySnapshotSchedulePolicySnapshotProperties |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The chainName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for chainName to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | boolean The guestFlush to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The storageLocations to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |