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 Type
    Method
    Description
    com.google.protobuf.ByteString
    bytes binary = 2;
    com.google.protobuf.Value
    .google.protobuf.Value proto = 1;
    com.google.protobuf.ValueOrBuilder
    .google.protobuf.Value proto = 1;
    string text = 3;
    com.google.protobuf.ByteString
    string text = 3;
     
    boolean
    bytes binary = 2;
    boolean
    .google.protobuf.Value proto = 1;
    boolean
    string text = 3;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      String getText()
      string text = 3;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
      string text = 3;
      Returns:
      The bytes for text.
    • getValueCase

      JsonValue.ValueCase getValueCase()