Class Policy.Marshaller<T> (2.38.1)

public abstract static class Policy.Marshaller<T>

Inheritance

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

Type Parameter

Name Description
T

Static Fields

IDENTITY_STR_VALUE_FUNCTION

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

IDENTITY_VALUE_OF_FUNCTION

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

Constructors

Marshaller()

protected Marshaller()

Methods

fromPb(T policyPb)

protected abstract Policy fromPb(T policyPb)
Parameter
Name Description
policyPb T
Returns
Type Description
Policy

toPb(Policy policy)

protected abstract T toPb(Policy policy)
Parameter
Name Description
policy Policy
Returns
Type Description
T