Interface LocationPolicyLocationOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      LocationPolicyLocationConstraints getConstraints()
      Constraints that the caller requires on the result distribution in this zone.
      LocationPolicyLocationConstraintsOrBuilder getConstraintsOrBuilder()
      Constraints that the caller requires on the result distribution in this zone.
      String getPreference()
      Preference for a given location.
      com.google.protobuf.ByteString getPreferenceBytes()
      Preference for a given location.
      boolean hasConstraints()
      Constraints that the caller requires on the result distribution in this zone.
      boolean hasPreference()
      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 Detail

      • 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

        LocationPolicyLocationConstraints 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

        LocationPolicyLocationConstraintsOrBuilder 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 or DENY.
         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 or DENY.
         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 or DENY.
         Check the Preference enum for the list of possible values.
         
        optional string preference = 150781147;
        Returns:
        The bytes for preference.