Class JsonValue.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<JsonValue.Builder>
com.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
io.vertx.grpc.event.v1alpha.JsonValue.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, JsonValueOrBuilder, Cloneable
Enclosing class:
JsonValue

public static final class JsonValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder> implements JsonValueOrBuilder
A json value wrapping various formats for the client convenience
Protobuf type vertx.event.v1alpha.JsonValue
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    bytes binary = 2;
    .google.protobuf.Value proto = 1;
    string text = 3;
     
    com.google.protobuf.ByteString
    bytes binary = 2;
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Value
    .google.protobuf.Value proto = 1;
    com.google.protobuf.Value.Builder
    .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;
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeProto(com.google.protobuf.Value value)
    .google.protobuf.Value proto = 1;
    setBinary(com.google.protobuf.ByteString value)
    bytes binary = 2;
    setProto(com.google.protobuf.Value value)
    .google.protobuf.Value proto = 1;
    setProto(com.google.protobuf.Value.Builder builderForValue)
    .google.protobuf.Value proto = 1;
    setText(String value)
    string text = 3;
    setTextBytes(com.google.protobuf.ByteString value)
    string text = 3;

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
    • clear

      public JsonValue.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
    • getDefaultInstanceForType

      public JsonValue getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public JsonValue build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public JsonValue buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public JsonValue.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<JsonValue.Builder>
    • mergeFrom

      public JsonValue.Builder mergeFrom(JsonValue other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
    • mergeFrom

      public JsonValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<JsonValue.Builder>
      Throws:
      IOException
    • getValueCase

      public JsonValue.ValueCase getValueCase()
      Specified by:
      getValueCase in interface JsonValueOrBuilder
    • clearValue

      public JsonValue.Builder clearValue()
    • hasProto

      public boolean hasProto()
      .google.protobuf.Value proto = 1;
      Specified by:
      hasProto in interface JsonValueOrBuilder
      Returns:
      Whether the proto field is set.
    • getProto

      public com.google.protobuf.Value getProto()
      .google.protobuf.Value proto = 1;
      Specified by:
      getProto in interface JsonValueOrBuilder
      Returns:
      The proto.
    • setProto

      public JsonValue.Builder setProto(com.google.protobuf.Value value)
      .google.protobuf.Value proto = 1;
    • setProto

      public JsonValue.Builder setProto(com.google.protobuf.Value.Builder builderForValue)
      .google.protobuf.Value proto = 1;
    • mergeProto

      public JsonValue.Builder mergeProto(com.google.protobuf.Value value)
      .google.protobuf.Value proto = 1;
    • clearProto

      public JsonValue.Builder clearProto()
      .google.protobuf.Value proto = 1;
    • getProtoBuilder

      public com.google.protobuf.Value.Builder getProtoBuilder()
      .google.protobuf.Value proto = 1;
    • getProtoOrBuilder

      public com.google.protobuf.ValueOrBuilder getProtoOrBuilder()
      .google.protobuf.Value proto = 1;
      Specified by:
      getProtoOrBuilder in interface JsonValueOrBuilder
    • hasBinary

      public boolean hasBinary()
      bytes binary = 2;
      Specified by:
      hasBinary in interface JsonValueOrBuilder
      Returns:
      Whether the binary field is set.
    • getBinary

      public com.google.protobuf.ByteString getBinary()
      bytes binary = 2;
      Specified by:
      getBinary in interface JsonValueOrBuilder
      Returns:
      The binary.
    • setBinary

      public JsonValue.Builder setBinary(com.google.protobuf.ByteString value)
      bytes binary = 2;
      Parameters:
      value - The binary to set.
      Returns:
      This builder for chaining.
    • clearBinary

      public JsonValue.Builder clearBinary()
      bytes binary = 2;
      Returns:
      This builder for chaining.
    • hasText

      public boolean hasText()
      string text = 3;
      Specified by:
      hasText in interface JsonValueOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public String getText()
      string text = 3;
      Specified by:
      getText in interface JsonValueOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
      string text = 3;
      Specified by:
      getTextBytes in interface JsonValueOrBuilder
      Returns:
      The bytes for text.
    • setText

      public JsonValue.Builder setText(String value)
      string text = 3;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public JsonValue.Builder clearText()
      string text = 3;
      Returns:
      This builder for chaining.
    • setTextBytes

      public JsonValue.Builder setTextBytes(com.google.protobuf.ByteString value)
      string text = 3;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.