Interface Gnmi.TypedValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Gnmi.TypedValue
,Gnmi.TypedValue.Builder
- Enclosing class:
- Gnmi
public static interface Gnmi.TypedValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Any
getAnyVal()
protobuf.Any encoded bytes.com.google.protobuf.AnyOrBuilder
getAnyValOrBuilder()
protobuf.Any encoded bytes.java.lang.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.Decimal64OrBuilder
getDecimalValOrBuilder()
Decimal64 encoded value.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.ScalarArrayOrBuilder
getLeaflistValOrBuilder()
Mixed type scalar array value.com.google.protobuf.ByteString
getProtoBytes()
Protobuf binary encoded bytes.java.lang.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStringVal
java.lang.String getStringVal()
String value.
string string_val = 1;
-
getStringValBytes
com.google.protobuf.ByteString getStringValBytes()
String value.
string string_val = 1;
-
getIntVal
long getIntVal()
Integer value.
int64 int_val = 2;
-
getUintVal
long getUintVal()
Unsigned integer value.
uint64 uint_val = 3;
-
getBoolVal
boolean getBoolVal()
Bool value.
bool bool_val = 4;
-
getBytesVal
com.google.protobuf.ByteString getBytesVal()
Arbitrary byte sequence value.
bytes bytes_val = 5;
-
getFloatVal
float getFloatVal()
Floating point value.
float float_val = 6;
-
hasDecimalVal
boolean hasDecimalVal()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
-
getDecimalVal
Gnmi.Decimal64 getDecimalVal()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
-
getDecimalValOrBuilder
Gnmi.Decimal64OrBuilder getDecimalValOrBuilder()
Decimal64 encoded value.
.gnmi.Decimal64 decimal_val = 7;
-
hasLeaflistVal
boolean hasLeaflistVal()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
-
getLeaflistVal
Gnmi.ScalarArray getLeaflistVal()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
-
getLeaflistValOrBuilder
Gnmi.ScalarArrayOrBuilder getLeaflistValOrBuilder()
Mixed type scalar array value.
.gnmi.ScalarArray leaflist_val = 8;
-
hasAnyVal
boolean hasAnyVal()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
-
getAnyVal
com.google.protobuf.Any getAnyVal()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
-
getAnyValOrBuilder
com.google.protobuf.AnyOrBuilder getAnyValOrBuilder()
protobuf.Any encoded bytes.
.google.protobuf.Any any_val = 9;
-
getJsonVal
com.google.protobuf.ByteString getJsonVal()
JSON-encoded text.
bytes json_val = 10;
-
getJsonIetfVal
com.google.protobuf.ByteString getJsonIetfVal()
JSON-encoded text per RFC7951.
bytes json_ietf_val = 11;
-
getAsciiVal
java.lang.String getAsciiVal()
Arbitrary ASCII text.
string ascii_val = 12;
-
getAsciiValBytes
com.google.protobuf.ByteString getAsciiValBytes()
Arbitrary ASCII text.
string ascii_val = 12;
-
getProtoBytes
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;
-
getValueCase
Gnmi.TypedValue.ValueCase getValueCase()
-
-