Interface LocationPolicyLocationOrBuilder (1.11.0)

public interface LocationPolicyLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPreference()

public abstract String getPreference()

Preference for a given location. 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. 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. Check the Preference enum for the list of possible values.

optional string preference = 150781147;

Returns
TypeDescription
boolean

Whether the preference field is set.