public static class PrimitiveSet.Builder<P> extends Object
| Modifier and Type | Method and Description |
|---|---|
PrimitiveSet.Builder<P> |
addFullPrimitiveAndOptionalPrimitive(P fullPrimitive,
P primitive,
Keyset.Key key) |
PrimitiveSet.Builder<P> |
addPrimaryFullPrimitiveAndOptionalPrimitive(P fullPrimitive,
P primitive,
Keyset.Key key)
Adds the primary primitive and full primitive.
|
PrimitiveSet.Builder<P> |
addPrimaryPrimitive(P primitive,
Keyset.Key key)
Adds the primary primitive.
|
PrimitiveSet.Builder<P> |
addPrimitive(P primitive,
Keyset.Key key) |
PrimitiveSet<P> |
build() |
PrimitiveSet.Builder<P> |
setAnnotations(MonitoringAnnotations annotations) |
@CanIgnoreReturnValue public PrimitiveSet.Builder<P> addPrimitive(P primitive, Keyset.Key key) throws GeneralSecurityException
GeneralSecurityException@CanIgnoreReturnValue public PrimitiveSet.Builder<P> addPrimaryPrimitive(P primitive, Keyset.Key key) throws GeneralSecurityException
GeneralSecurityException@CanIgnoreReturnValue public PrimitiveSet.Builder<P> addFullPrimitiveAndOptionalPrimitive(@Nullable P fullPrimitive, @Nullable P primitive, Keyset.Key key) throws GeneralSecurityException
GeneralSecurityException@CanIgnoreReturnValue public PrimitiveSet.Builder<P> addPrimaryFullPrimitiveAndOptionalPrimitive(@Nullable P fullPrimitive, @Nullable P primitive, Keyset.Key key) throws GeneralSecurityException
GeneralSecurityException@CanIgnoreReturnValue public PrimitiveSet.Builder<P> setAnnotations(MonitoringAnnotations annotations)
public PrimitiveSet<P> build() throws GeneralSecurityException
GeneralSecurityException