Interface JsonValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JsonValue, JsonValue.Builder
public interface JsonValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringbytes binary = 2;com.google.protobuf.ValuegetProto().google.protobuf.Value proto = 1;com.google.protobuf.ValueOrBuilder.google.protobuf.Value proto = 1;getText()string text = 3;com.google.protobuf.ByteStringstring text = 3;booleanbytes binary = 2;booleanhasProto().google.protobuf.Value proto = 1;booleanhasText()string text = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasProto
boolean hasProto().google.protobuf.Value proto = 1;- Returns:
- Whether the proto field is set.
-
getProto
com.google.protobuf.Value getProto().google.protobuf.Value proto = 1;- Returns:
- The proto.
-
getProtoOrBuilder
com.google.protobuf.ValueOrBuilder getProtoOrBuilder().google.protobuf.Value proto = 1; -
hasBinary
boolean hasBinary()bytes binary = 2;- Returns:
- Whether the binary field is set.
-
getBinary
com.google.protobuf.ByteString getBinary()bytes binary = 2;- Returns:
- The binary.
-
hasText
boolean hasText()string text = 3;- Returns:
- Whether the text field is set.
-
getText
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()string text = 3;- Returns:
- The bytes for text.
-
getValueCase
JsonValue.ValueCase getValueCase()
-