public static final class BinaryMessages.DynamicField.Builder extends <any> implements BinaryMessages.DynamicFieldOrBuilder
openxc.DynamicField
Modifier and Type | Method and Description |
---|---|
BinaryMessages.DynamicField.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.DynamicField |
build() |
BinaryMessages.DynamicField |
buildPartial() |
BinaryMessages.DynamicField.Builder |
clear() |
BinaryMessages.DynamicField.Builder |
clearBooleanValue()
bool boolean_value = 4; |
BinaryMessages.DynamicField.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BinaryMessages.DynamicField.Builder |
clearNumericValue()
double numeric_value = 3; |
BinaryMessages.DynamicField.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BinaryMessages.DynamicField.Builder |
clearStringValue()
string string_value = 2; |
BinaryMessages.DynamicField.Builder |
clearType()
.openxc.DynamicField.Type type = 1; |
boolean |
getBooleanValue()
bool boolean_value = 4; |
BinaryMessages.DynamicField |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getNumericValue()
double numeric_value = 3; |
java.lang.String |
getStringValue()
string string_value = 2; |
com.google.protobuf.ByteString |
getStringValueBytes()
string string_value = 2; |
BinaryMessages.DynamicField.Type |
getType()
.openxc.DynamicField.Type type = 1; |
int |
getTypeValue()
.openxc.DynamicField.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BinaryMessages.DynamicField.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BinaryMessages.DynamicField.Builder |
mergeFrom(com.google.protobuf.Message other) |
BinaryMessages.DynamicField.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BinaryMessages.DynamicField.Builder |
setBooleanValue(boolean value)
bool boolean_value = 4; |
BinaryMessages.DynamicField.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.DynamicField.Builder |
setNumericValue(double value)
double numeric_value = 3; |
BinaryMessages.DynamicField.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
BinaryMessages.DynamicField.Builder |
setStringValue(java.lang.String value)
string string_value = 2; |
BinaryMessages.DynamicField.Builder |
setStringValueBytes(com.google.protobuf.ByteString value)
string string_value = 2; |
BinaryMessages.DynamicField.Builder |
setType(BinaryMessages.DynamicField.Type value)
.openxc.DynamicField.Type type = 1; |
BinaryMessages.DynamicField.Builder |
setTypeValue(int value)
.openxc.DynamicField.Type type = 1; |
BinaryMessages.DynamicField.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public BinaryMessages.DynamicField.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public BinaryMessages.DynamicField getDefaultInstanceForType()
public BinaryMessages.DynamicField build()
public BinaryMessages.DynamicField buildPartial()
public BinaryMessages.DynamicField.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DynamicField.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public BinaryMessages.DynamicField.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public BinaryMessages.DynamicField.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public BinaryMessages.DynamicField.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.DynamicField.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public BinaryMessages.DynamicField.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public int getTypeValue()
.openxc.DynamicField.Type type = 1;
getTypeValue
in interface BinaryMessages.DynamicFieldOrBuilder
public BinaryMessages.DynamicField.Builder setTypeValue(int value)
.openxc.DynamicField.Type type = 1;
value
- The enum numeric value on the wire for type to set.public BinaryMessages.DynamicField.Type getType()
.openxc.DynamicField.Type type = 1;
getType
in interface BinaryMessages.DynamicFieldOrBuilder
public BinaryMessages.DynamicField.Builder setType(BinaryMessages.DynamicField.Type value)
.openxc.DynamicField.Type type = 1;
value
- The type to set.public BinaryMessages.DynamicField.Builder clearType()
.openxc.DynamicField.Type type = 1;
public java.lang.String getStringValue()
string string_value = 2;
getStringValue
in interface BinaryMessages.DynamicFieldOrBuilder
public com.google.protobuf.ByteString getStringValueBytes()
string string_value = 2;
getStringValueBytes
in interface BinaryMessages.DynamicFieldOrBuilder
public BinaryMessages.DynamicField.Builder setStringValue(java.lang.String value)
string string_value = 2;
value
- The stringValue to set.public BinaryMessages.DynamicField.Builder clearStringValue()
string string_value = 2;
public BinaryMessages.DynamicField.Builder setStringValueBytes(com.google.protobuf.ByteString value)
string string_value = 2;
value
- The bytes for stringValue to set.public double getNumericValue()
double numeric_value = 3;
getNumericValue
in interface BinaryMessages.DynamicFieldOrBuilder
public BinaryMessages.DynamicField.Builder setNumericValue(double value)
double numeric_value = 3;
value
- The numericValue to set.public BinaryMessages.DynamicField.Builder clearNumericValue()
double numeric_value = 3;
public boolean getBooleanValue()
bool boolean_value = 4;
getBooleanValue
in interface BinaryMessages.DynamicFieldOrBuilder
public BinaryMessages.DynamicField.Builder setBooleanValue(boolean value)
bool boolean_value = 4;
value
- The booleanValue to set.public BinaryMessages.DynamicField.Builder clearBooleanValue()
bool boolean_value = 4;
public final BinaryMessages.DynamicField.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final BinaryMessages.DynamicField.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)