Interface SnapshotSettingsStorageLocationSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SnapshotSettingsStorageLocationSettings, SnapshotSettingsStorageLocationSettings.Builder

@Generated public interface SnapshotSettingsStorageLocationSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLocationsCount

      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;
    • containsLocations

      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;
    • getLocations

      Deprecated.
      Use getLocationsMap() instead.
    • 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

       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

       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;
    • hasPolicy

      boolean hasPolicy()
       The chosen location policy.
       Check the Policy enum for the list of possible values.
       
      optional string policy = 91071794;
      Returns:
      Whether the policy field is set.
    • getPolicy

      String getPolicy()
       The chosen location policy.
       Check the Policy enum for the list of possible values.
       
      optional string policy = 91071794;
      Returns:
      The policy.
    • getPolicyBytes

      com.google.protobuf.ByteString getPolicyBytes()
       The chosen location policy.
       Check the Policy enum for the list of possible values.
       
      optional string policy = 91071794;
      Returns:
      The bytes for policy.