public abstract static class Policy.Marshaller<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected static ApiFunction<Identity,String> |
IDENTITY_STR_VALUE_FUNCTION |
protected static ApiFunction<String,Identity> |
IDENTITY_VALUE_OF_FUNCTION |
Modifier | Constructor and Description |
---|---|
protected |
Marshaller() |
Modifier and Type | Method and Description |
---|---|
protected abstract Policy |
fromPb(T policyPb) |
protected abstract T |
toPb(Policy policy) |
protected static final ApiFunction<String,Identity> IDENTITY_VALUE_OF_FUNCTION
protected static final ApiFunction<Identity,String> IDENTITY_STR_VALUE_FUNCTION
@InternalApi(value="This class should only be extended within google-cloud-java") protected Marshaller()
Copyright © 2019 Google LLC. All rights reserved.