public final class SnapshotSettingsStorageLocationSettings extends GeneratedMessageV3 implements SnapshotSettingsStorageLocationSettingsOrBuilder
Protobuf type google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOCATIONS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SnapshotSettingsStorageLocationSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SnapshotSettingsStorageLocationSettings.Builder newBuilder()
newBuilder(SnapshotSettingsStorageLocationSettings prototype)
public static SnapshotSettingsStorageLocationSettings.Builder newBuilder(SnapshotSettingsStorageLocationSettings prototype)
public static SnapshotSettingsStorageLocationSettings parseDelimitedFrom(InputStream input)
public static SnapshotSettingsStorageLocationSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SnapshotSettingsStorageLocationSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SnapshotSettingsStorageLocationSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SnapshotSettingsStorageLocationSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SnapshotSettingsStorageLocationSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SnapshotSettingsStorageLocationSettings parseFrom(CodedInputStream input)
public static SnapshotSettingsStorageLocationSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SnapshotSettingsStorageLocationSettings parseFrom(InputStream input)
public static SnapshotSettingsStorageLocationSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SnapshotSettingsStorageLocationSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SnapshotSettingsStorageLocationSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SnapshotSettingsStorageLocationSettings> parser()
Methods
containsLocations(String key)
public 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;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SnapshotSettingsStorageLocationSettings getDefaultInstanceForType()
getLocations() (deprecated)
public Map<String,SnapshotSettingsStorageLocationSettingsStorageLocationPreference> getLocations()
getLocationsCount()
public int getLocationsCount()
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;
Returns |
Type |
Description |
int |
|
getLocationsMap()
public 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;
getLocationsOrDefault(String key, SnapshotSettingsStorageLocationSettingsStorageLocationPreference defaultValue)
public 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;
getLocationsOrThrow(String key)
public 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;
Parameter |
Name |
Description |
key |
String
|
getParserForType()
public Parser<SnapshotSettingsStorageLocationSettings> getParserForType()
Overrides
getPolicy()
public String getPolicy()
The chosen location policy.
Check the Policy enum for the list of possible values.
optional string policy = 91071794;
Returns |
Type |
Description |
String |
The policy.
|
getPolicyBytes()
public ByteString getPolicyBytes()
The chosen location policy.
Check the Policy enum for the list of possible values.
optional string policy = 91071794;
Returns |
Type |
Description |
ByteString |
The bytes for policy.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasPolicy()
public boolean hasPolicy()
The chosen location policy.
Check the Policy enum for the list of possible values.
optional string policy = 91071794;
Returns |
Type |
Description |
boolean |
Whether the policy field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SnapshotSettingsStorageLocationSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SnapshotSettingsStorageLocationSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SnapshotSettingsStorageLocationSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides