public static final class Record.Field
extends java.lang.Object
Constructor and Description |
---|
Field(@NonNull java.lang.String label,
@NonNull Value value) |
Field(@NonNull Value value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static Record.Field |
fromProto(ValueOuterClass.RecordField field) |
@NonNull java.util.Optional<java.lang.String> |
getLabel() |
@NonNull Value |
getValue() |
int |
hashCode() |
ValueOuterClass.RecordField |
toProto() |
java.lang.String |
toString() |
public Field(@NonNull java.lang.String label, @NonNull Value value)
public Field(@NonNull Value value)
public @NonNull java.util.Optional<java.lang.String> getLabel()
public @NonNull Value getValue()
public static Record.Field fromProto(ValueOuterClass.RecordField field)
public ValueOuterClass.RecordField toProto()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object