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 convenienceProtobuf type
vertx.event.v1alpha.JsonValue-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()bytes binary = 2;.google.protobuf.Value proto = 1;string text = 3;com.google.protobuf.ByteStringbytes binary = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ValuegetProto().google.protobuf.Value proto = 1;com.google.protobuf.Value.Builder.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;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(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;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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<JsonValue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<JsonValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<JsonValue.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceJsonValueOrBuilder
-
clearValue
-
hasProto
public boolean hasProto().google.protobuf.Value proto = 1;- Specified by:
hasProtoin interfaceJsonValueOrBuilder- Returns:
- Whether the proto field is set.
-
getProto
public com.google.protobuf.Value getProto().google.protobuf.Value proto = 1;- Specified by:
getProtoin interfaceJsonValueOrBuilder- Returns:
- The proto.
-
setProto
.google.protobuf.Value proto = 1; -
setProto
.google.protobuf.Value proto = 1; -
mergeProto
.google.protobuf.Value proto = 1; -
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:
getProtoOrBuilderin interfaceJsonValueOrBuilder
-
hasBinary
public boolean hasBinary()bytes binary = 2;- Specified by:
hasBinaryin interfaceJsonValueOrBuilder- Returns:
- Whether the binary field is set.
-
getBinary
public com.google.protobuf.ByteString getBinary()bytes binary = 2;- Specified by:
getBinaryin interfaceJsonValueOrBuilder- Returns:
- The binary.
-
setBinary
bytes binary = 2;- Parameters:
value- The binary to set.- Returns:
- This builder for chaining.
-
clearBinary
-
hasText
public boolean hasText()string text = 3;- Specified by:
hasTextin interfaceJsonValueOrBuilder- Returns:
- Whether the text field is set.
-
getText
string text = 3;- Specified by:
getTextin interfaceJsonValueOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()string text = 3;- Specified by:
getTextBytesin interfaceJsonValueOrBuilder- Returns:
- The bytes for text.
-
setText
string text = 3;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
-
setTextBytes
string text = 3;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-