public interface LocationPolicyLocationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConstraints()
public abstract LocationPolicyLocationConstraints getConstraints()Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
| Type | Description |
| LocationPolicyLocationConstraints | The constraints. |
getConstraintsOrBuilder()
public abstract LocationPolicyLocationConstraintsOrBuilder getConstraintsOrBuilder()Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
| Type | Description |
| LocationPolicyLocationConstraintsOrBuilder |
getPreference()
public abstract 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;
| Type | Description |
| String | The preference. |
getPreferenceBytes()
public abstract 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;
| Type | Description |
| ByteString | The bytes for preference. |
hasConstraints()
public abstract boolean hasConstraints()Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
| Type | Description |
| boolean | Whether the constraints field is set. |
hasPreference()
public abstract 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;
| Type | Description |
| boolean | Whether the preference field is set. |