Package com.google.crypto.tink.internal
Class MonitoringAnnotations
- java.lang.Object
-
- com.google.crypto.tink.internal.MonitoringAnnotations
-
@Immutable @Alpha public final class MonitoringAnnotations extends java.lang.Object
Immutable keyset annotations used by monitoring.DO NOT USE. This API is not yet ready and may change or be removed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMonitoringAnnotations.BuilderBuilder
-
Field Summary
Fields Modifier and Type Field Description static MonitoringAnnotationsEMPTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()booleanisEmpty()Returns true if the annotations are empty.static MonitoringAnnotations.BuildernewBuilder()java.util.Map<java.lang.String,java.lang.String>toMap()Returns an immutable map that contains the annotations.java.lang.StringtoString()
-
-
-
Field Detail
-
EMPTY
public static final MonitoringAnnotations EMPTY
-
-
Method Detail
-
newBuilder
public static MonitoringAnnotations.Builder newBuilder()
-
toMap
public java.util.Map<java.lang.String,java.lang.String> toMap()
Returns an immutable map that contains the annotations.
-
isEmpty
public boolean isEmpty()
Returns true if the annotations are empty.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-