A B C D E G I L M N P R S T U V 
All Classes All Packages

A

addEntries(Collection<Double>) - Method in class com.google.privacy.differentialprivacy.BoundedMean
Clamps the input values and adds them to the mean.
addEntries(Collection<Double>) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles
Clamps the input values and adds them to the distribution.
addEntries(Collection<Double>) - Method in class com.google.privacy.differentialprivacy.BoundedSum
Clamps the input values and adds them to the sum.
addEntry(double) - Method in class com.google.privacy.differentialprivacy.BoundedMean
Clamps the input value and adds it to the mean.
addEntry(double) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles
Clamps the input value and adds it to the distribution.
addEntry(double) - Method in class com.google.privacy.differentialprivacy.BoundedSum
Clamps the input value and adds it to the sum.
addNoise(double, double, double, Double) - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
addNoise(double, int, double, double, Double) - Method in class com.google.privacy.differentialprivacy.GaussianNoise
Adds Gaussian noise to x such that the output is (epsilon, delta)-differentially private, with respect to the specified L_0 and L_inf sensitivities.
addNoise(double, int, double, double, Double) - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
Adds Laplace noise to x such that the output is epsilon-differentially private, with respect to the specified L_0 and L_inf sensitivities.
addNoise(double, int, double, double, Double) - Method in interface com.google.privacy.differentialprivacy.Noise
 
addNoise(long, int, long, double, Double) - Method in class com.google.privacy.differentialprivacy.GaussianNoise
Adds Gaussian noise to the integer x such that the output is (epsilon, delta)-differentially private, with respect to the specified L_0 and L_inf sensitivities.
addNoise(long, int, long, double, Double) - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
Adds Laplace noise to the integer x such that the output is epsilon-differentially private, with respect to the specified L_0 and L_inf sensitivities.
addNoise(long, int, long, double, Double) - Method in interface com.google.privacy.differentialprivacy.Noise
 
addNoise(long, long, double, Double) - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
AggregationState - Enum in com.google.privacy.differentialprivacy
Represents the state of the aggregation.

B

BoundedMean - Class in com.google.privacy.differentialprivacy
Calculates differentially private average for a collection of values.
BoundedMean.Params - Class in com.google.privacy.differentialprivacy
 
BoundedMean.Params.Builder - Class in com.google.privacy.differentialprivacy
 
BoundedQuantiles - Class in com.google.privacy.differentialprivacy
Calculates differentially private quantiles for a collection of values using a quantile tree mechanism.
BoundedQuantiles.Params - Class in com.google.privacy.differentialprivacy
 
BoundedQuantiles.Params.Builder - Class in com.google.privacy.differentialprivacy
 
BoundedSum - Class in com.google.privacy.differentialprivacy
Calculates a differentially private sum for a collection of values using the Laplace or Gaussian mechanism.
BoundedSum.Params - Class in com.google.privacy.differentialprivacy
 
BoundedSum.Params.Builder - Class in com.google.privacy.differentialprivacy
 
branchingFactor(int) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
The number of children for every non-leaf node of the quantile tree used to store the entries.
build() - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
 
build() - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
 
build() - Method in class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
 
build() - Method in class com.google.privacy.differentialprivacy.Count.Params.Builder
 
builder() - Static method in class com.google.privacy.differentialprivacy.BoundedMean
 
builder() - Static method in class com.google.privacy.differentialprivacy.BoundedQuantiles
 
builder() - Static method in class com.google.privacy.differentialprivacy.BoundedSum
 
builder() - Static method in class com.google.privacy.differentialprivacy.Count
 
Builder() - Constructor for class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
 
Builder() - Constructor for class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
 
Builder() - Constructor for class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
 
Builder() - Constructor for class com.google.privacy.differentialprivacy.Count.Params.Builder
 

C

com.google.privacy.differentialprivacy - package com.google.privacy.differentialprivacy
 
computeConfidenceInterval(double) - Method in class com.google.privacy.differentialprivacy.BoundedMean
Computes a confidence interval that contains the true mean with a probability greater or equal to 1 - alpha.
computeConfidenceInterval(double) - Method in class com.google.privacy.differentialprivacy.BoundedSum
Computes a confidence interval that contains the true BoundedSum with a probability greater or equal to 1 - alpha using the noised BoundedSum computed by computeResult().
computeConfidenceInterval(double) - Method in class com.google.privacy.differentialprivacy.Count
Computes a ConfidenceInterval with integer bounds that contains the true Count with a probability greater or equal to 1 - alpha using the noised Count computed by computeResult().
computeConfidenceInterval(double, int, double, double, Double, double) - Method in class com.google.privacy.differentialprivacy.GaussianNoise
Computes a confidence interval that contains the raw value x passed to GaussianNoise.addNoise(double, int, double, double, Double) with a probability equal to 1 - alpha based on the specified noisedX and noise parameters.
computeConfidenceInterval(double, int, double, double, Double, double) - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
Computes a confidence interval that contains the raw value x passed to LaplaceNoise.addNoise(double, int, double, double, Double) with a probability equal to 1 - alpha based on the specified noisedX and noise parameters.
computeConfidenceInterval(double, int, double, double, Double, double) - Method in interface com.google.privacy.differentialprivacy.Noise
 
computeConfidenceInterval(long, int, long, double, Double, double) - Method in class com.google.privacy.differentialprivacy.GaussianNoise
Computes a confidence interval that contains the raw integer value x passed to GaussianNoise.addNoise(long, int, long, double, Double) with a probability greater or equal to 1 - alpha based on the specified noisedX and noise parameters.
computeConfidenceInterval(long, int, long, double, Double, double) - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
Computes a confidence interval that contains the raw integer value x passed to LaplaceNoise.addNoise(long, int, long, double, Double) with a probability greater or equal to 1 - alpha based on the specified noisedX and noise parameters.
computeConfidenceInterval(long, int, long, double, Double, double) - Method in interface com.google.privacy.differentialprivacy.Noise
 
computeQuantile(double, double, int, double, double, Double) - Method in class com.google.privacy.differentialprivacy.GaussianNoise
Computes the quantile z satisfying Pr[Y <= z] = rank for a Gaussian random variable Y with mean x and variance according to the specified privacy parameters.
computeQuantile(double, double, int, double, double, Double) - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
Computes the quantile z satisfying Pr[Y <= z] = rank for a Laplace random variable Y with mean x and variance according to the specified privacy parameters.
computeQuantile(double, double, int, double, double, Double) - Method in interface com.google.privacy.differentialprivacy.Noise
Calculates a value k s.t.
computeResult() - Method in class com.google.privacy.differentialprivacy.BoundedMean
Calculates and returns differentially private average of elements added using BoundedMean.addEntry(double) and BoundedMean.addEntries(java.util.Collection<java.lang.Double>).
computeResult() - Method in class com.google.privacy.differentialprivacy.BoundedSum
Computes and returns a differentially private sum of the elements added via BoundedSum.addEntry(double) and BoundedSum.addEntries(java.util.Collection<java.lang.Double>).
computeResult() - Method in class com.google.privacy.differentialprivacy.Count
Calculates and returns a differentially private count of elements added using Count.increment() and Count.incrementBy(long).
computeResult(double) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles
Calculates and returns a differentially private quantile of the values added via BoundedQuantiles.addEntry(double) and BoundedQuantiles.addEntries(java.util.Collection<java.lang.Double>).
computeThresholdedResult(double) - Method in class com.google.privacy.differentialprivacy.Count
Returns either of Count.computeResult() or Optional.empty().
ConfidenceInterval - Class in com.google.privacy.differentialprivacy
Stores the upper and lower bounds of a confidence interval.
ConfidenceInterval() - Constructor for class com.google.privacy.differentialprivacy.ConfidenceInterval
 
Count - Class in com.google.privacy.differentialprivacy
Calculates a differentially private count for a collection of values using the Laplace or Gaussian mechanism.
Count.Params - Class in com.google.privacy.differentialprivacy
 
Count.Params.Builder - Class in com.google.privacy.differentialprivacy
 
create(double, double) - Static method in class com.google.privacy.differentialprivacy.ConfidenceInterval
 

D

DEFAULT - com.google.privacy.differentialprivacy.AggregationState
Object hasn't been serialized and computeResult() hasn't been called.
DEFAULT_BRANCHING_FACTOR - Static variable in class com.google.privacy.differentialprivacy.BoundedQuantiles
 
DEFAULT_TREE_HEIGHT - Static variable in class com.google.privacy.differentialprivacy.BoundedQuantiles
 
delta(Double) - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
Delta DP parameter.
delta(Double) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
Delta DP parameter.
delta(Double) - Method in class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
Delta DP parameter.
delta(Double) - Method in class com.google.privacy.differentialprivacy.Count.Params.Builder
Delta DP parameter.
DpPreconditions - Class in com.google.privacy.differentialprivacy
Utilities which validate the correctness of DP parameters.

E

epsilon(double) - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
Epsilon DP parameter.
epsilon(double) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
Epsilon DP parameter.
epsilon(double) - Method in class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
Epsilon DP parameter.
epsilon(double) - Method in class com.google.privacy.differentialprivacy.Count.Params.Builder
Epsilon DP parameter.

G

GaussianNoise - Class in com.google.privacy.differentialprivacy
Generates and adds Gaussian noise to a raw piece of numerical data such that the result is securely differentially private.
GaussianNoise() - Constructor for class com.google.privacy.differentialprivacy.GaussianNoise
Returns a Noise instance initialized with a secure randomness source.
getErrorMessage() - Method in enum com.google.privacy.differentialprivacy.AggregationState
 
getL1Sensitivity(int, double) - Static method in interface com.google.privacy.differentialprivacy.Noise
 
getL2Sensitivity(int, double) - Static method in interface com.google.privacy.differentialprivacy.Noise
 
getMechanismType() - Method in class com.google.privacy.differentialprivacy.GaussianNoise
 
getMechanismType() - Method in class com.google.privacy.differentialprivacy.LaplaceNoise
 
getMechanismType() - Method in interface com.google.privacy.differentialprivacy.Noise
 
getSerializableSummary() - Method in class com.google.privacy.differentialprivacy.BoundedMean
Returns a serializable summary of the current state of this BoundedMean instance and its parameters.
getSerializableSummary() - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles
Returns a serializable summary of the current state of this BoundedQuantiles instance and its parameters.
getSerializableSummary() - Method in class com.google.privacy.differentialprivacy.BoundedSum
Returns a serializable summary of the current state of this BoundedSum instance and its parameters.
getSerializableSummary() - Method in class com.google.privacy.differentialprivacy.Count
Returns a serializable summary of the current state of this Count instance and its parameters.

I

increment() - Method in class com.google.privacy.differentialprivacy.Count
Increments count by one.
incrementBy(long) - Method in class com.google.privacy.differentialprivacy.Count
Increments count by the given value.

L

LaplaceNoise - Class in com.google.privacy.differentialprivacy
Generates and adds Laplace noise to a raw piece of numerical data such that the result is securely differentially private.
LaplaceNoise() - Constructor for class com.google.privacy.differentialprivacy.LaplaceNoise
Returns a Noise instance initialized with a secure randomness source.
lower(double) - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
Lower bound for the entries added to the mean.
lower(double) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
Lower bound for the entries added to the distribution.
lower(double) - Method in class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
Lower bound for the entries added to the sum.
lowerBound() - Method in class com.google.privacy.differentialprivacy.ConfidenceInterval
 

M

maxContributionsPerPartition(int) - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
Max contributions per partition from a single privacy unit (e.g., an individual).
maxContributionsPerPartition(int) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
Max contributions per partition from a single privacy unit (e.g., an individual).
maxPartitionsContributed(int) - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
Maximum number of partitions that a single privacy unit (e.g., an individual) is allowed to contribute to.
maxPartitionsContributed(int) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
Maximum number of partitions that a single privacy unit (e.g., an individual) is allowed to contribute to.
maxPartitionsContributed(int) - Method in class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
Maximum number of partitions to which a single privacy unit (i.e., an individual) is allowed to contribute.
maxPartitionsContributed(int) - Method in class com.google.privacy.differentialprivacy.Count.Params.Builder
Maximum number of partitions to which a single privacy unit (i.e., an individual) is allowed to contribute.
mergeWith(byte[]) - Method in class com.google.privacy.differentialprivacy.BoundedMean
Merges the output of BoundedMean.getSerializableSummary() from a different instance of BoundedMean with this instance.
mergeWith(byte[]) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles
Merges the output of BoundedQuantiles.getSerializableSummary() from a different instance of BoundedQuantiles with this instance.
mergeWith(byte[]) - Method in class com.google.privacy.differentialprivacy.BoundedSum
Merges the output of BoundedSum.getSerializableSummary() from a different instance of BoundedSum with this instance.
mergeWith(byte[]) - Method in class com.google.privacy.differentialprivacy.Count
Merges the output of Count.getSerializableSummary() from a different instance of Count with this instance.

N

noise(Noise) - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
Noise that will be used to make the mean differentially private.
noise(Noise) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
Noise that will be used to make the quantiles differentially private.
noise(Noise) - Method in class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
Distribution from which the noise will be generated and added to the sum.
noise(Noise) - Method in class com.google.privacy.differentialprivacy.Count.Params.Builder
Distribution from which the noise will be generated and added to the count.
Noise - Interface in com.google.privacy.differentialprivacy
Interface for primitives that add noise to numerical data, for use in differential privacy operations.
NUMERICAL_TOLERANCE - Static variable in class com.google.privacy.differentialprivacy.BoundedQuantiles
 

P

Params() - Constructor for class com.google.privacy.differentialprivacy.BoundedMean.Params
 
Params() - Constructor for class com.google.privacy.differentialprivacy.BoundedQuantiles.Params
 
Params() - Constructor for class com.google.privacy.differentialprivacy.BoundedSum.Params
 
Params() - Constructor for class com.google.privacy.differentialprivacy.Count.Params
 

R

RESULT_RETURNED - com.google.privacy.differentialprivacy.AggregationState
computeResult() was called.

S

SERIALIZED - com.google.privacy.differentialprivacy.AggregationState
Object has been serialized.

T

treeHeight(int) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
The height of the quantile tree used to store the entries.

U

upper(double) - Method in class com.google.privacy.differentialprivacy.BoundedMean.Params.Builder
Upper bound for the entries added to the mean.
upper(double) - Method in class com.google.privacy.differentialprivacy.BoundedQuantiles.Params.Builder
Upper bound for the entries added to the distribution.
upper(double) - Method in class com.google.privacy.differentialprivacy.BoundedSum.Params.Builder
Upper bound for the entries added to the sum.
upperBound() - Method in class com.google.privacy.differentialprivacy.ConfidenceInterval
 

V

valueOf(String) - Static method in enum com.google.privacy.differentialprivacy.AggregationState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.privacy.differentialprivacy.AggregationState
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G I L M N P R S T U V 
All Classes All Packages