Package com.google.cloud.compute.v1
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 TypeMethodDescriptionConstraints 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.ByteStringPreference for a given location.booleanConstraints that the caller requires on the result distribution in this zone.booleanPreference for a given location.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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 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.
-