public static final class Gnmi.TypedValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder> implements Gnmi.TypedValueOrBuilder
TypedValue is used to encode a value being sent between the client and target (originated by either entity).Protobuf type
gnmi.TypedValue
Modifier and Type | Method and Description |
---|---|
Gnmi.TypedValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.TypedValue |
build() |
Gnmi.TypedValue |
buildPartial() |
Gnmi.TypedValue.Builder |
clear() |
Gnmi.TypedValue.Builder |
clearAnyVal()
protobuf.Any encoded bytes.
|
Gnmi.TypedValue.Builder |
clearAsciiVal()
Arbitrary ASCII text.
|
Gnmi.TypedValue.Builder |
clearBoolVal()
Bool value.
|
Gnmi.TypedValue.Builder |
clearBytesVal()
Arbitrary byte sequence value.
|
Gnmi.TypedValue.Builder |
clearDecimalVal()
Decimal64 encoded value.
|
Gnmi.TypedValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Gnmi.TypedValue.Builder |
clearFloatVal()
Floating point value.
|
Gnmi.TypedValue.Builder |
clearIntVal()
Integer value.
|
Gnmi.TypedValue.Builder |
clearJsonIetfVal()
JSON-encoded text per RFC7951.
|
Gnmi.TypedValue.Builder |
clearJsonVal()
JSON-encoded text.
|
Gnmi.TypedValue.Builder |
clearLeaflistVal()
Mixed type scalar array value.
|
Gnmi.TypedValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Gnmi.TypedValue.Builder |
clearProtoBytes()
Protobuf binary encoded bytes.
|
Gnmi.TypedValue.Builder |
clearStringVal()
String value.
|
Gnmi.TypedValue.Builder |
clearUintVal()
Unsigned integer value.
|
Gnmi.TypedValue.Builder |
clearValue() |
Gnmi.TypedValue.Builder |
clone() |
com.google.protobuf.Any |
getAnyVal()
protobuf.Any encoded bytes.
|
com.google.protobuf.Any.Builder |
getAnyValBuilder()
protobuf.Any encoded bytes.
|
com.google.protobuf.AnyOrBuilder |
getAnyValOrBuilder()
protobuf.Any encoded bytes.
|
String |
getAsciiVal()
Arbitrary ASCII text.
|
com.google.protobuf.ByteString |
getAsciiValBytes()
Arbitrary ASCII text.
|
boolean |
getBoolVal()
Bool value.
|
com.google.protobuf.ByteString |
getBytesVal()
Arbitrary byte sequence value.
|
Gnmi.Decimal64 |
getDecimalVal()
Decimal64 encoded value.
|
Gnmi.Decimal64.Builder |
getDecimalValBuilder()
Decimal64 encoded value.
|
Gnmi.Decimal64OrBuilder |
getDecimalValOrBuilder()
Decimal64 encoded value.
|
Gnmi.TypedValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getFloatVal()
Floating point value.
|
long |
getIntVal()
Integer value.
|
com.google.protobuf.ByteString |
getJsonIetfVal()
JSON-encoded text per RFC7951.
|
com.google.protobuf.ByteString |
getJsonVal()
JSON-encoded text.
|
Gnmi.ScalarArray |
getLeaflistVal()
Mixed type scalar array value.
|
Gnmi.ScalarArray.Builder |
getLeaflistValBuilder()
Mixed type scalar array value.
|
Gnmi.ScalarArrayOrBuilder |
getLeaflistValOrBuilder()
Mixed type scalar array value.
|
com.google.protobuf.ByteString |
getProtoBytes()
Protobuf binary encoded bytes.
|
String |
getStringVal()
String value.
|
com.google.protobuf.ByteString |
getStringValBytes()
String value.
|
long |
getUintVal()
Unsigned integer value.
|
Gnmi.TypedValue.ValueCase |
getValueCase() |
boolean |
hasAnyVal()
protobuf.Any encoded bytes.
|
boolean |
hasDecimalVal()
Decimal64 encoded value.
|
boolean |
hasLeaflistVal()
Mixed type scalar array value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Gnmi.TypedValue.Builder |
mergeAnyVal(com.google.protobuf.Any value)
protobuf.Any encoded bytes.
|
Gnmi.TypedValue.Builder |
mergeDecimalVal(Gnmi.Decimal64 value)
Decimal64 encoded value.
|
Gnmi.TypedValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Gnmi.TypedValue.Builder |
mergeFrom(Gnmi.TypedValue other) |
Gnmi.TypedValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
Gnmi.TypedValue.Builder |
mergeLeaflistVal(Gnmi.ScalarArray value)
Mixed type scalar array value.
|
Gnmi.TypedValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Gnmi.TypedValue.Builder |
setAnyVal(com.google.protobuf.Any.Builder builderForValue)
protobuf.Any encoded bytes.
|
Gnmi.TypedValue.Builder |
setAnyVal(com.google.protobuf.Any value)
protobuf.Any encoded bytes.
|
Gnmi.TypedValue.Builder |
setAsciiVal(String value)
Arbitrary ASCII text.
|
Gnmi.TypedValue.Builder |
setAsciiValBytes(com.google.protobuf.ByteString value)
Arbitrary ASCII text.
|
Gnmi.TypedValue.Builder |
setBoolVal(boolean value)
Bool value.
|
Gnmi.TypedValue.Builder |
setBytesVal(com.google.protobuf.ByteString value)
Arbitrary byte sequence value.
|
Gnmi.TypedValue.Builder |
setDecimalVal(Gnmi.Decimal64.Builder builderForValue)
Decimal64 encoded value.
|
Gnmi.TypedValue.Builder |
setDecimalVal(Gnmi.Decimal64 value)
Decimal64 encoded value.
|
Gnmi.TypedValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.TypedValue.Builder |
setFloatVal(float value)
Floating point value.
|
Gnmi.TypedValue.Builder |
setIntVal(long value)
Integer value.
|
Gnmi.TypedValue.Builder |
setJsonIetfVal(com.google.protobuf.ByteString value)
JSON-encoded text per RFC7951.
|
Gnmi.TypedValue.Builder |
setJsonVal(com.google.protobuf.ByteString value)
JSON-encoded text.
|
Gnmi.TypedValue.Builder |
setLeaflistVal(Gnmi.ScalarArray.Builder builderForValue)
Mixed type scalar array value.
|
Gnmi.TypedValue.Builder |
setLeaflistVal(Gnmi.ScalarArray value)
Mixed type scalar array value.
|
Gnmi.TypedValue.Builder |
setProtoBytes(com.google.protobuf.ByteString value)
Protobuf binary encoded bytes.
|
Gnmi.TypedValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Gnmi.TypedValue.Builder |
setStringVal(String value)
String value.
|
Gnmi.TypedValue.Builder |
setStringValBytes(com.google.protobuf.ByteString value)
String value.
|
Gnmi.TypedValue.Builder |
setUintVal(long value)
Unsigned integer value.
|
Gnmi.TypedValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Gnmi.TypedValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.TypedValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.TypedValue.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder mergeFrom(Gnmi.TypedValue other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public Gnmi.TypedValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Gnmi.TypedValue.Builder>
IOException
public Gnmi.TypedValue.ValueCase getValueCase()
getValueCase
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder clearValue()
public String getStringVal()
String value.
string string_val = 1;
getStringVal
in interface Gnmi.TypedValueOrBuilder
public com.google.protobuf.ByteString getStringValBytes()
String value.
string string_val = 1;
getStringValBytes
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setStringVal(String value)
String value.
string string_val = 1;
public Gnmi.TypedValue.Builder clearStringVal()
String value.
string string_val = 1;
public Gnmi.TypedValue.Builder setStringValBytes(com.google.protobuf.ByteString value)
String value.
string string_val = 1;
public long getIntVal()
Integer value.
int64 int_val = 2;
getIntVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setIntVal(long value)
Integer value.
int64 int_val = 2;
public Gnmi.TypedValue.Builder clearIntVal()
Integer value.
int64 int_val = 2;
public long getUintVal()
Unsigned integer value.
uint64 uint_val = 3;
getUintVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setUintVal(long value)
Unsigned integer value.
uint64 uint_val = 3;
public Gnmi.TypedValue.Builder clearUintVal()
Unsigned integer value.
uint64 uint_val = 3;
public boolean getBoolVal()
Bool value.
bool bool_val = 4;
getBoolVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setBoolVal(boolean value)
Bool value.
bool bool_val = 4;
public Gnmi.TypedValue.Builder clearBoolVal()
Bool value.
bool bool_val = 4;
public com.google.protobuf.ByteString getBytesVal()
Arbitrary byte sequence value.
bytes bytes_val = 5;
getBytesVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setBytesVal(com.google.protobuf.ByteString value)
Arbitrary byte sequence value.
bytes bytes_val = 5;
public Gnmi.TypedValue.Builder clearBytesVal()
Arbitrary byte sequence value.
bytes bytes_val = 5;
public float getFloatVal()
Floating point value.
float float_val = 6;
getFloatVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setFloatVal(float value)
Floating point value.
float float_val = 6;
public Gnmi.TypedValue.Builder clearFloatVal()
Floating point value.
float float_val = 6;
public boolean hasDecimalVal()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
hasDecimalVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.Decimal64 getDecimalVal()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
getDecimalVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setDecimalVal(Gnmi.Decimal64 value)
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
public Gnmi.TypedValue.Builder setDecimalVal(Gnmi.Decimal64.Builder builderForValue)
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
public Gnmi.TypedValue.Builder mergeDecimalVal(Gnmi.Decimal64 value)
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
public Gnmi.TypedValue.Builder clearDecimalVal()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
public Gnmi.Decimal64.Builder getDecimalValBuilder()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
public Gnmi.Decimal64OrBuilder getDecimalValOrBuilder()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
getDecimalValOrBuilder
in interface Gnmi.TypedValueOrBuilder
public boolean hasLeaflistVal()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
hasLeaflistVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.ScalarArray getLeaflistVal()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
getLeaflistVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setLeaflistVal(Gnmi.ScalarArray value)
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
public Gnmi.TypedValue.Builder setLeaflistVal(Gnmi.ScalarArray.Builder builderForValue)
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
public Gnmi.TypedValue.Builder mergeLeaflistVal(Gnmi.ScalarArray value)
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
public Gnmi.TypedValue.Builder clearLeaflistVal()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
public Gnmi.ScalarArray.Builder getLeaflistValBuilder()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
public Gnmi.ScalarArrayOrBuilder getLeaflistValOrBuilder()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
getLeaflistValOrBuilder
in interface Gnmi.TypedValueOrBuilder
public boolean hasAnyVal()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
hasAnyVal
in interface Gnmi.TypedValueOrBuilder
public com.google.protobuf.Any getAnyVal()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
getAnyVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setAnyVal(com.google.protobuf.Any value)
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
public Gnmi.TypedValue.Builder setAnyVal(com.google.protobuf.Any.Builder builderForValue)
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
public Gnmi.TypedValue.Builder mergeAnyVal(com.google.protobuf.Any value)
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
public Gnmi.TypedValue.Builder clearAnyVal()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
public com.google.protobuf.Any.Builder getAnyValBuilder()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
public com.google.protobuf.AnyOrBuilder getAnyValOrBuilder()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
getAnyValOrBuilder
in interface Gnmi.TypedValueOrBuilder
public com.google.protobuf.ByteString getJsonVal()
JSON-encoded text.
bytes json_val = 10;
getJsonVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setJsonVal(com.google.protobuf.ByteString value)
JSON-encoded text.
bytes json_val = 10;
public Gnmi.TypedValue.Builder clearJsonVal()
JSON-encoded text.
bytes json_val = 10;
public com.google.protobuf.ByteString getJsonIetfVal()
JSON-encoded text per RFC7951.
bytes json_ietf_val = 11;
getJsonIetfVal
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setJsonIetfVal(com.google.protobuf.ByteString value)
JSON-encoded text per RFC7951.
bytes json_ietf_val = 11;
public Gnmi.TypedValue.Builder clearJsonIetfVal()
JSON-encoded text per RFC7951.
bytes json_ietf_val = 11;
public String getAsciiVal()
Arbitrary ASCII text.
string ascii_val = 12;
getAsciiVal
in interface Gnmi.TypedValueOrBuilder
public com.google.protobuf.ByteString getAsciiValBytes()
Arbitrary ASCII text.
string ascii_val = 12;
getAsciiValBytes
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setAsciiVal(String value)
Arbitrary ASCII text.
string ascii_val = 12;
public Gnmi.TypedValue.Builder clearAsciiVal()
Arbitrary ASCII text.
string ascii_val = 12;
public Gnmi.TypedValue.Builder setAsciiValBytes(com.google.protobuf.ByteString value)
Arbitrary ASCII text.
string ascii_val = 12;
public com.google.protobuf.ByteString getProtoBytes()
Protobuf binary encoded bytes. The message type is not included. See the specification at github.com/openconfig/reference/blob/master/rpc/gnmi/protobuf-vals.md for a complete specification.
bytes proto_bytes = 13;
getProtoBytes
in interface Gnmi.TypedValueOrBuilder
public Gnmi.TypedValue.Builder setProtoBytes(com.google.protobuf.ByteString value)
Protobuf binary encoded bytes. The message type is not included. See the specification at github.com/openconfig/reference/blob/master/rpc/gnmi/protobuf-vals.md for a complete specification.
bytes proto_bytes = 13;
public Gnmi.TypedValue.Builder clearProtoBytes()
Protobuf binary encoded bytes. The message type is not included. See the specification at github.com/openconfig/reference/blob/master/rpc/gnmi/protobuf-vals.md for a complete specification.
bytes proto_bytes = 13;
public final Gnmi.TypedValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
public final Gnmi.TypedValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.TypedValue.Builder>
Copyright © 2021. All rights reserved.