Class Telemetry.KeyValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
- org.opennms.features.openconfig.proto.jti.Telemetry.KeyValue.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,Telemetry.KeyValueOrBuilder
- Enclosing class:
- Telemetry.KeyValue
public static final class Telemetry.KeyValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder> implements Telemetry.KeyValueOrBuilder
Simple Key-value, where value could be one of scalar types
Protobuf typetelemetry.KeyValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Telemetry.KeyValue.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.KeyValue
build()
Telemetry.KeyValue
buildPartial()
Telemetry.KeyValue.Builder
clear()
Telemetry.KeyValue.Builder
clearBoolValue()
bool bool_value = 9;
Telemetry.KeyValue.Builder
clearBytesValue()
bytes bytes_value = 11;
Telemetry.KeyValue.Builder
clearDoubleValue()
double double_value = 5;
Telemetry.KeyValue.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Telemetry.KeyValue.Builder
clearIntValue()
int64 int_value = 6;
Telemetry.KeyValue.Builder
clearKey()
KeyTelemetry.KeyValue.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Telemetry.KeyValue.Builder
clearSintValue()
sint64 sint_value = 8;
Telemetry.KeyValue.Builder
clearStrValue()
string str_value = 10;
Telemetry.KeyValue.Builder
clearUintValue()
uint64 uint_value = 7;
Telemetry.KeyValue.Builder
clearValue()
Telemetry.KeyValue.Builder
clone()
boolean
getBoolValue()
bool bool_value = 9;
com.google.protobuf.ByteString
getBytesValue()
bytes bytes_value = 11;
Telemetry.KeyValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getDoubleValue()
double double_value = 5;
long
getIntValue()
int64 int_value = 6;
java.lang.String
getKey()
Keycom.google.protobuf.ByteString
getKeyBytes()
Keylong
getSintValue()
sint64 sint_value = 8;
java.lang.String
getStrValue()
string str_value = 10;
com.google.protobuf.ByteString
getStrValueBytes()
string str_value = 10;
long
getUintValue()
uint64 uint_value = 7;
Telemetry.KeyValue.ValueCase
getValueCase()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Telemetry.KeyValue.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Telemetry.KeyValue.Builder
mergeFrom(com.google.protobuf.Message other)
Telemetry.KeyValue.Builder
mergeFrom(Telemetry.KeyValue other)
Telemetry.KeyValue.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Telemetry.KeyValue.Builder
setBoolValue(boolean value)
bool bool_value = 9;
Telemetry.KeyValue.Builder
setBytesValue(com.google.protobuf.ByteString value)
bytes bytes_value = 11;
Telemetry.KeyValue.Builder
setDoubleValue(double value)
double double_value = 5;
Telemetry.KeyValue.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.KeyValue.Builder
setIntValue(long value)
int64 int_value = 6;
Telemetry.KeyValue.Builder
setKey(java.lang.String value)
KeyTelemetry.KeyValue.Builder
setKeyBytes(com.google.protobuf.ByteString value)
KeyTelemetry.KeyValue.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Telemetry.KeyValue.Builder
setSintValue(long value)
sint64 sint_value = 8;
Telemetry.KeyValue.Builder
setStrValue(java.lang.String value)
string str_value = 10;
Telemetry.KeyValue.Builder
setStrValueBytes(com.google.protobuf.ByteString value)
string str_value = 10;
Telemetry.KeyValue.Builder
setUintValue(long value)
uint64 uint_value = 7;
Telemetry.KeyValue.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<Telemetry.KeyValue.Builder>
-
clear
public Telemetry.KeyValue.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<Telemetry.KeyValue.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<Telemetry.KeyValue.Builder>
-
getDefaultInstanceForType
public Telemetry.KeyValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Telemetry.KeyValue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Telemetry.KeyValue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Telemetry.KeyValue.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<Telemetry.KeyValue.Builder>
-
setField
public Telemetry.KeyValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
clearField
public Telemetry.KeyValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
clearOneof
public Telemetry.KeyValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
setRepeatedField
public Telemetry.KeyValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
addRepeatedField
public Telemetry.KeyValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
mergeFrom
public Telemetry.KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Telemetry.KeyValue.Builder>
-
mergeFrom
public Telemetry.KeyValue.Builder mergeFrom(Telemetry.KeyValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
mergeFrom
public Telemetry.KeyValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<Telemetry.KeyValue.Builder>
- Throws:
java.io.IOException
-
getValueCase
public Telemetry.KeyValue.ValueCase getValueCase()
- Specified by:
getValueCase
in interfaceTelemetry.KeyValueOrBuilder
-
clearValue
public Telemetry.KeyValue.Builder clearValue()
-
getKey
public java.lang.String getKey()
Key
string key = 1;
- Specified by:
getKey
in interfaceTelemetry.KeyValueOrBuilder
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
Key
string key = 1;
- Specified by:
getKeyBytes
in interfaceTelemetry.KeyValueOrBuilder
-
setKey
public Telemetry.KeyValue.Builder setKey(java.lang.String value)
Key
string key = 1;
-
clearKey
public Telemetry.KeyValue.Builder clearKey()
Key
string key = 1;
-
setKeyBytes
public Telemetry.KeyValue.Builder setKeyBytes(com.google.protobuf.ByteString value)
Key
string key = 1;
-
getDoubleValue
public double getDoubleValue()
double double_value = 5;
- Specified by:
getDoubleValue
in interfaceTelemetry.KeyValueOrBuilder
-
setDoubleValue
public Telemetry.KeyValue.Builder setDoubleValue(double value)
double double_value = 5;
-
clearDoubleValue
public Telemetry.KeyValue.Builder clearDoubleValue()
double double_value = 5;
-
getIntValue
public long getIntValue()
int64 int_value = 6;
- Specified by:
getIntValue
in interfaceTelemetry.KeyValueOrBuilder
-
setIntValue
public Telemetry.KeyValue.Builder setIntValue(long value)
int64 int_value = 6;
-
clearIntValue
public Telemetry.KeyValue.Builder clearIntValue()
int64 int_value = 6;
-
getUintValue
public long getUintValue()
uint64 uint_value = 7;
- Specified by:
getUintValue
in interfaceTelemetry.KeyValueOrBuilder
-
setUintValue
public Telemetry.KeyValue.Builder setUintValue(long value)
uint64 uint_value = 7;
-
clearUintValue
public Telemetry.KeyValue.Builder clearUintValue()
uint64 uint_value = 7;
-
getSintValue
public long getSintValue()
sint64 sint_value = 8;
- Specified by:
getSintValue
in interfaceTelemetry.KeyValueOrBuilder
-
setSintValue
public Telemetry.KeyValue.Builder setSintValue(long value)
sint64 sint_value = 8;
-
clearSintValue
public Telemetry.KeyValue.Builder clearSintValue()
sint64 sint_value = 8;
-
getBoolValue
public boolean getBoolValue()
bool bool_value = 9;
- Specified by:
getBoolValue
in interfaceTelemetry.KeyValueOrBuilder
-
setBoolValue
public Telemetry.KeyValue.Builder setBoolValue(boolean value)
bool bool_value = 9;
-
clearBoolValue
public Telemetry.KeyValue.Builder clearBoolValue()
bool bool_value = 9;
-
getStrValue
public java.lang.String getStrValue()
string str_value = 10;
- Specified by:
getStrValue
in interfaceTelemetry.KeyValueOrBuilder
-
getStrValueBytes
public com.google.protobuf.ByteString getStrValueBytes()
string str_value = 10;
- Specified by:
getStrValueBytes
in interfaceTelemetry.KeyValueOrBuilder
-
setStrValue
public Telemetry.KeyValue.Builder setStrValue(java.lang.String value)
string str_value = 10;
-
clearStrValue
public Telemetry.KeyValue.Builder clearStrValue()
string str_value = 10;
-
setStrValueBytes
public Telemetry.KeyValue.Builder setStrValueBytes(com.google.protobuf.ByteString value)
string str_value = 10;
-
getBytesValue
public com.google.protobuf.ByteString getBytesValue()
bytes bytes_value = 11;
- Specified by:
getBytesValue
in interfaceTelemetry.KeyValueOrBuilder
-
setBytesValue
public Telemetry.KeyValue.Builder setBytesValue(com.google.protobuf.ByteString value)
bytes bytes_value = 11;
-
clearBytesValue
public Telemetry.KeyValue.Builder clearBytesValue()
bytes bytes_value = 11;
-
setUnknownFields
public final Telemetry.KeyValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
mergeUnknownFields
public final Telemetry.KeyValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.KeyValue.Builder>
-
-