Interface BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder (1.9.1)

public interface BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getData()

public abstract String getData()

An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.

optional string data = 3076010;

Returns
TypeDescription
String

The data.

getDataBytes()

public abstract ByteString getDataBytes()

An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.

optional string data = 3076010;

Returns
TypeDescription
ByteString

The bytes for data.

getName()

public abstract String getName()

Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

hasData()

public abstract boolean hasData()

An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.

optional string data = 3076010;

Returns
TypeDescription
boolean

Whether the data field is set.

hasName()

public abstract boolean hasName()

Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.