Interface LocationPolicyLocationOrBuilder

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

@Generated public interface LocationPolicyLocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Constraints that the caller requires on the result distribution in this zone.
    Constraints that the caller requires on the result distribution in this zone.
    Preference for a given location.
    com.google.protobuf.ByteString
    Preference for a given location.
    boolean
    Constraints that the caller requires on the result distribution in this zone.
    boolean
    Preference for a given location.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasConstraints

      boolean hasConstraints()
       Constraints that the caller requires on the result distribution
       in this zone.
       
      optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
      Returns:
      Whether the constraints field is set.
    • getConstraints

       Constraints that the caller requires on the result distribution
       in this zone.
       
      optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
      Returns:
      The constraints.
    • getConstraintsOrBuilder

       Constraints that the caller requires on the result distribution
       in this zone.
       
      optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
    • hasPreference

      boolean hasPreference()
       Preference for a given location. Set to either ALLOW orDENY.
       Check the Preference enum for the list of possible values.
       
      optional string preference = 150781147;
      Returns:
      Whether the preference field is set.
    • getPreference

      String getPreference()
       Preference for a given location. Set to either ALLOW orDENY.
       Check the Preference enum for the list of possible values.
       
      optional string preference = 150781147;
      Returns:
      The preference.
    • getPreferenceBytes

      com.google.protobuf.ByteString getPreferenceBytes()
       Preference for a given location. Set to either ALLOW orDENY.
       Check the Preference enum for the list of possible values.
       
      optional string preference = 150781147;
      Returns:
      The bytes for preference.