public static final class SnapshotSettingsStorageLocationSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder> implements SnapshotSettingsStorageLocationSettingsOrBuilder
Protobuf type
google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.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<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SnapshotSettingsStorageLocationSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SnapshotSettingsStorageLocationSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SnapshotSettingsStorageLocationSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.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<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.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<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.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<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.Builder mergeFrom(SnapshotSettingsStorageLocationSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>public SnapshotSettingsStorageLocationSettings.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<SnapshotSettingsStorageLocationSettings.Builder>IOExceptionpublic int getLocationsCount()
SnapshotSettingsStorageLocationSettingsOrBuilderWhen the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
getLocationsCount in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic boolean containsLocations(String key)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
containsLocations in interface SnapshotSettingsStorageLocationSettingsOrBuilder@Deprecated public Map<String,SnapshotSettingsStorageLocationSettingsStorageLocationPreference> getLocations()
getLocationsMap() instead.getLocations in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic Map<String,SnapshotSettingsStorageLocationSettingsStorageLocationPreference> getLocationsMap()
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
getLocationsMap in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic SnapshotSettingsStorageLocationSettingsStorageLocationPreference getLocationsOrDefault(String key, SnapshotSettingsStorageLocationSettingsStorageLocationPreference defaultValue)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
getLocationsOrDefault in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic SnapshotSettingsStorageLocationSettingsStorageLocationPreference getLocationsOrThrow(String key)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
getLocationsOrThrow in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic SnapshotSettingsStorageLocationSettings.Builder clearLocations()
public SnapshotSettingsStorageLocationSettings.Builder removeLocations(String key)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
@Deprecated public Map<String,SnapshotSettingsStorageLocationSettingsStorageLocationPreference> getMutableLocations()
public SnapshotSettingsStorageLocationSettings.Builder putLocations(String key, SnapshotSettingsStorageLocationSettingsStorageLocationPreference value)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
public SnapshotSettingsStorageLocationSettings.Builder putAllLocations(Map<String,SnapshotSettingsStorageLocationSettingsStorageLocationPreference> values)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
public SnapshotSettingsStorageLocationSettingsStorageLocationPreference.Builder putLocationsBuilderIfAbsent(String key)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454;
public boolean hasPolicy()
The chosen location policy. Check the Policy enum for the list of possible values.
optional string policy = 91071794;hasPolicy in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic String getPolicy()
The chosen location policy. Check the Policy enum for the list of possible values.
optional string policy = 91071794;getPolicy in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic com.google.protobuf.ByteString getPolicyBytes()
The chosen location policy. Check the Policy enum for the list of possible values.
optional string policy = 91071794;getPolicyBytes in interface SnapshotSettingsStorageLocationSettingsOrBuilderpublic SnapshotSettingsStorageLocationSettings.Builder setPolicy(String value)
The chosen location policy. Check the Policy enum for the list of possible values.
optional string policy = 91071794;value - The policy to set.public SnapshotSettingsStorageLocationSettings.Builder clearPolicy()
The chosen location policy. Check the Policy enum for the list of possible values.
optional string policy = 91071794;public SnapshotSettingsStorageLocationSettings.Builder setPolicyBytes(com.google.protobuf.ByteString value)
The chosen location policy. Check the Policy enum for the list of possible values.
optional string policy = 91071794;value - The bytes for policy to set.public final SnapshotSettingsStorageLocationSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>public final SnapshotSettingsStorageLocationSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotSettingsStorageLocationSettings.Builder>Copyright © 2025 Google LLC. All rights reserved.