Class Value.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
com.inductiveautomation.ignition.common.rpc.proto.gen.Value.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ValueOrBuilder
,Cloneable
- Enclosing class:
- Value
public static final class Value.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
implements ValueOrBuilder
Protobuf type
ignition.rpc.Value
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
bytes binary_value = 8;
bool bool_value = 2;
.ignition.rpc.Value.ValueCollection collection_value = 9;
double double_value = 6;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) float float_value = 5;
An associated identifier that will be used to pick up custom deserialization logic on the receiving side.sint32 int_value = 3;
sint64 long_value = 4;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) string string_value = 7;
clone()
com.google.protobuf.ByteString
bytes binary_value = 8;
boolean
bool bool_value = 2;
.ignition.rpc.Value.ValueCollection collection_value = 9;
.ignition.rpc.Value.ValueCollection collection_value = 9;
.ignition.rpc.Value.ValueCollection collection_value = 9;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
double double_value = 6;
float
float float_value = 5;
An associated identifier that will be used to pick up custom deserialization logic on the receiving side.com.google.protobuf.ByteString
An associated identifier that will be used to pick up custom deserialization logic on the receiving side.int
sint32 int_value = 3;
long
sint64 long_value = 4;
string string_value = 7;
com.google.protobuf.ByteString
string string_value = 7;
boolean
bytes binary_value = 8;
boolean
bool bool_value = 2;
boolean
.ignition.rpc.Value.ValueCollection collection_value = 9;
boolean
double double_value = 6;
boolean
float float_value = 5;
boolean
An associated identifier that will be used to pick up custom deserialization logic on the receiving side.boolean
sint32 int_value = 3;
boolean
sint64 long_value = 4;
boolean
string string_value = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
.ignition.rpc.Value.ValueCollection collection_value = 9;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Value.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBinaryValue
(com.google.protobuf.ByteString value) bytes binary_value = 8;
setBoolValue
(boolean value) bool bool_value = 2;
.ignition.rpc.Value.ValueCollection collection_value = 9;
setCollectionValue
(Value.ValueCollection.Builder builderForValue) .ignition.rpc.Value.ValueCollection collection_value = 9;
setDoubleValue
(double value) double double_value = 6;
setFloatValue
(float value) float float_value = 5;
setIdentifier
(String value) An associated identifier that will be used to pick up custom deserialization logic on the receiving side.setIdentifierBytes
(com.google.protobuf.ByteString value) An associated identifier that will be used to pick up custom deserialization logic on the receiving side.setIntValue
(int value) sint32 int_value = 3;
setLongValue
(long value) sint64 long_value = 4;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringValue
(String value) string string_value = 7;
setStringValueBytes
(com.google.protobuf.ByteString value) string string_value = 7;
final Value.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<Value.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<Value.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<Value.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<Value.Builder>
-
setField
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
setRepeatedField
public Value.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<Value.Builder>
-
addRepeatedField
public Value.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<Value.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Value.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
mergeFrom
public Value.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<Value.Builder>
- Throws:
IOException
-
getValueCase
- Specified by:
getValueCase
in interfaceValueOrBuilder
-
clearValue
-
hasIdentifier
public boolean hasIdentifier()An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;
- Specified by:
hasIdentifier
in interfaceValueOrBuilder
- Returns:
- Whether the identifier field is set.
-
getIdentifier
An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;
- Specified by:
getIdentifier
in interfaceValueOrBuilder
- Returns:
- The identifier.
-
getIdentifierBytes
public com.google.protobuf.ByteString getIdentifierBytes()An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;
- Specified by:
getIdentifierBytes
in interfaceValueOrBuilder
- Returns:
- The bytes for identifier.
-
setIdentifier
An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;
- Parameters:
value
- The identifier to set.- Returns:
- This builder for chaining.
-
clearIdentifier
An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;
- Returns:
- This builder for chaining.
-
setIdentifierBytes
An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;
- Parameters:
value
- The bytes for identifier to set.- Returns:
- This builder for chaining.
-
hasBoolValue
public boolean hasBoolValue()bool bool_value = 2;
- Specified by:
hasBoolValue
in interfaceValueOrBuilder
- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()bool bool_value = 2;
- Specified by:
getBoolValue
in interfaceValueOrBuilder
- Returns:
- The boolValue.
-
setBoolValue
bool bool_value = 2;
- Parameters:
value
- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
bool bool_value = 2;
- Returns:
- This builder for chaining.
-
hasIntValue
public boolean hasIntValue()sint32 int_value = 3;
- Specified by:
hasIntValue
in interfaceValueOrBuilder
- Returns:
- Whether the intValue field is set.
-
getIntValue
public int getIntValue()sint32 int_value = 3;
- Specified by:
getIntValue
in interfaceValueOrBuilder
- Returns:
- The intValue.
-
setIntValue
sint32 int_value = 3;
- Parameters:
value
- The intValue to set.- Returns:
- This builder for chaining.
-
clearIntValue
sint32 int_value = 3;
- Returns:
- This builder for chaining.
-
hasLongValue
public boolean hasLongValue()sint64 long_value = 4;
- Specified by:
hasLongValue
in interfaceValueOrBuilder
- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()sint64 long_value = 4;
- Specified by:
getLongValue
in interfaceValueOrBuilder
- Returns:
- The longValue.
-
setLongValue
sint64 long_value = 4;
- Parameters:
value
- The longValue to set.- Returns:
- This builder for chaining.
-
clearLongValue
sint64 long_value = 4;
- Returns:
- This builder for chaining.
-
hasFloatValue
public boolean hasFloatValue()float float_value = 5;
- Specified by:
hasFloatValue
in interfaceValueOrBuilder
- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()float float_value = 5;
- Specified by:
getFloatValue
in interfaceValueOrBuilder
- Returns:
- The floatValue.
-
setFloatValue
float float_value = 5;
- Parameters:
value
- The floatValue to set.- Returns:
- This builder for chaining.
-
clearFloatValue
float float_value = 5;
- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 6;
- Specified by:
hasDoubleValue
in interfaceValueOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 6;
- Specified by:
getDoubleValue
in interfaceValueOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
double double_value = 6;
- Parameters:
value
- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
double double_value = 6;
- Returns:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()string string_value = 7;
- Specified by:
hasStringValue
in interfaceValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 7;
- Specified by:
getStringValue
in interfaceValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 7;
- Specified by:
getStringValueBytes
in interfaceValueOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
string string_value = 7;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
string string_value = 7;
- Returns:
- This builder for chaining.
-
setStringValueBytes
string string_value = 7;
- Parameters:
value
- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasBinaryValue
public boolean hasBinaryValue()bytes binary_value = 8;
- Specified by:
hasBinaryValue
in interfaceValueOrBuilder
- Returns:
- Whether the binaryValue field is set.
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()bytes binary_value = 8;
- Specified by:
getBinaryValue
in interfaceValueOrBuilder
- Returns:
- The binaryValue.
-
setBinaryValue
bytes binary_value = 8;
- Parameters:
value
- The binaryValue to set.- Returns:
- This builder for chaining.
-
clearBinaryValue
bytes binary_value = 8;
- Returns:
- This builder for chaining.
-
hasCollectionValue
public boolean hasCollectionValue().ignition.rpc.Value.ValueCollection collection_value = 9;
- Specified by:
hasCollectionValue
in interfaceValueOrBuilder
- Returns:
- Whether the collectionValue field is set.
-
getCollectionValue
.ignition.rpc.Value.ValueCollection collection_value = 9;
- Specified by:
getCollectionValue
in interfaceValueOrBuilder
- Returns:
- The collectionValue.
-
setCollectionValue
.ignition.rpc.Value.ValueCollection collection_value = 9;
-
setCollectionValue
.ignition.rpc.Value.ValueCollection collection_value = 9;
-
mergeCollectionValue
.ignition.rpc.Value.ValueCollection collection_value = 9;
-
clearCollectionValue
.ignition.rpc.Value.ValueCollection collection_value = 9;
-
getCollectionValueBuilder
.ignition.rpc.Value.ValueCollection collection_value = 9;
-
getCollectionValueOrBuilder
.ignition.rpc.Value.ValueCollection collection_value = 9;
- Specified by:
getCollectionValueOrBuilder
in interfaceValueOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-