Interface LocationPolicyLocationOrBuilder (1.7.2)

public interface LocationPolicyLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPreference()

public abstract String getPreference()

Preference for a given location: ALLOW or DENY. Check the Preference enum for the list of possible values.

optional string preference = 150781147;

Returns
TypeDescription
String

The preference.

getPreferenceBytes()

public abstract ByteString getPreferenceBytes()

Preference for a given location: ALLOW or DENY. Check the Preference enum for the list of possible values.

optional string preference = 150781147;

Returns
TypeDescription
ByteString

The bytes for preference.

hasPreference()

public abstract boolean hasPreference()

Preference for a given location: ALLOW or DENY. Check the Preference enum for the list of possible values.

optional string preference = 150781147;

Returns
TypeDescription
boolean

Whether the preference field is set.