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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
LocationPolicyLocationConstraintsOrBuilder |
|
getPreference()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The preference. |
getPreferenceBytes()
public abstract 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 | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the constraints field is set. |
hasPreference()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the preference field is set. |