Class Literal.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
io.deephaven.proto.backplane.grpc.Literal.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,LiteralOrBuilder
,Cloneable
- Enclosing class:
- Literal
public static final class Literal.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
implements LiteralOrBuilder
Protobuf type
io.deephaven.proto.backplane.grpc.Literal
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
bool bool_value = 3;
double double_value = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) sint64 long_value = 4 [jstype = JS_STRING];
nanos since the epochclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) string string_value = 1;
clone()
boolean
bool bool_value = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
double double_value = 2;
long
sint64 long_value = 4 [jstype = JS_STRING];
long
nanos since the epochstring string_value = 1;
com.google.protobuf.ByteString
string string_value = 1;
boolean
bool bool_value = 3;
boolean
double double_value = 2;
boolean
sint64 long_value = 4 [jstype = JS_STRING];
boolean
nanos since the epochboolean
string string_value = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Literal.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBoolValue
(boolean value) bool bool_value = 3;
setDoubleValue
(double value) double double_value = 2;
setLongValue
(long value) sint64 long_value = 4 [jstype = JS_STRING];
setNanoTimeValue
(long value) nanos since the epochsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringValue
(String value) string string_value = 1;
setStringValueBytes
(com.google.protobuf.ByteString value) string string_value = 1;
final Literal.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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 java.lang.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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
setField
public Literal.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
setRepeatedField
public Literal.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
addRepeatedField
public Literal.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Literal.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
mergeFrom
public Literal.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Literal.Builder>
- Throws:
IOException
-
getValueCase
- Specified by:
getValueCase
in interfaceLiteralOrBuilder
-
clearValue
-
hasStringValue
public boolean hasStringValue()string string_value = 1;
- Specified by:
hasStringValue
in interfaceLiteralOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 1;
- Specified by:
getStringValue
in interfaceLiteralOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 1;
- Specified by:
getStringValueBytes
in interfaceLiteralOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
string string_value = 1;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
string string_value = 1;
- Returns:
- This builder for chaining.
-
setStringValueBytes
string string_value = 1;
- Parameters:
value
- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 2;
- Specified by:
hasDoubleValue
in interfaceLiteralOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 2;
- Specified by:
getDoubleValue
in interfaceLiteralOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
double double_value = 2;
- Parameters:
value
- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
double double_value = 2;
- Returns:
- This builder for chaining.
-
hasBoolValue
public boolean hasBoolValue()bool bool_value = 3;
- Specified by:
hasBoolValue
in interfaceLiteralOrBuilder
- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()bool bool_value = 3;
- Specified by:
getBoolValue
in interfaceLiteralOrBuilder
- Returns:
- The boolValue.
-
setBoolValue
bool bool_value = 3;
- Parameters:
value
- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
bool bool_value = 3;
- Returns:
- This builder for chaining.
-
hasLongValue
public boolean hasLongValue()sint64 long_value = 4 [jstype = JS_STRING];
- Specified by:
hasLongValue
in interfaceLiteralOrBuilder
- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()sint64 long_value = 4 [jstype = JS_STRING];
- Specified by:
getLongValue
in interfaceLiteralOrBuilder
- Returns:
- The longValue.
-
setLongValue
sint64 long_value = 4 [jstype = JS_STRING];
- Parameters:
value
- The longValue to set.- Returns:
- This builder for chaining.
-
clearLongValue
sint64 long_value = 4 [jstype = JS_STRING];
- Returns:
- This builder for chaining.
-
hasNanoTimeValue
public boolean hasNanoTimeValue()nanos since the epoch
sint64 nano_time_value = 5 [jstype = JS_STRING];
- Specified by:
hasNanoTimeValue
in interfaceLiteralOrBuilder
- Returns:
- Whether the nanoTimeValue field is set.
-
getNanoTimeValue
public long getNanoTimeValue()nanos since the epoch
sint64 nano_time_value = 5 [jstype = JS_STRING];
- Specified by:
getNanoTimeValue
in interfaceLiteralOrBuilder
- Returns:
- The nanoTimeValue.
-
setNanoTimeValue
nanos since the epoch
sint64 nano_time_value = 5 [jstype = JS_STRING];
- Parameters:
value
- The nanoTimeValue to set.- Returns:
- This builder for chaining.
-
clearNanoTimeValue
nanos since the epoch
sint64 nano_time_value = 5 [jstype = JS_STRING];
- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Literal.Builder>
-