Interface SnapshotSettingsAccessLocationOrBuilder

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

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

    • getLocationsCount

      int getLocationsCount()
       List of regions that can restore a regional
       snapshot from the current region
       
      map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454;
    • containsLocations

      boolean containsLocations(String key)
       List of regions that can restore a regional
       snapshot from the current region
       
      map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454;
    • getLocations

      Deprecated.
      Use getLocationsMap() instead.
    • getLocationsMap

       List of regions that can restore a regional
       snapshot from the current region
       
      map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454;
    • getLocationsOrDefault

       List of regions that can restore a regional
       snapshot from the current region
       
      map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454;
    • getLocationsOrThrow

       List of regions that can restore a regional
       snapshot from the current region
       
      map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454;
    • hasPolicy

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

      String getPolicy()
       Policy of which location is allowed to access snapshot.
       Check the Policy enum for the list of possible values.
       
      optional string policy = 91071794;
      Returns:
      The policy.
    • getPolicyBytes

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