Class Policy.Marshaller<T> (2.36.1)

public abstract static class Policy.Marshaller<T>

Inheritance

java.lang.Object > Policy.Marshaller<T>

Type Parameter

NameDescription
T

Static Fields

IDENTITY_STR_VALUE_FUNCTION

protected static final ApiFunction<Identity,String> IDENTITY_STR_VALUE_FUNCTION
Field Value
TypeDescription
ApiFunction<Identity,String>

IDENTITY_VALUE_OF_FUNCTION

protected static final ApiFunction<String,Identity> IDENTITY_VALUE_OF_FUNCTION
Field Value
TypeDescription
ApiFunction<String,Identity>

Constructors

Marshaller()

protected Marshaller()

Methods

fromPb(T policyPb)

protected abstract Policy fromPb(T policyPb)
Parameter
NameDescription
policyPbT
Returns
TypeDescription
Policy

toPb(Policy policy)

protected abstract T toPb(Policy policy)
Parameter
NameDescription
policyPolicy
Returns
TypeDescription
T