public static final class Gnmi.TypedValue extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Gnmi.TypedValue.Builder
TypedValue is used to encode a value being sent between the client and
target (originated by either entity).
|
static class |
Gnmi.TypedValue.ValueCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ANY_VAL_FIELD_NUMBER |
static int |
ASCII_VAL_FIELD_NUMBER |
static int |
BOOL_VAL_FIELD_NUMBER |
static int |
BYTES_VAL_FIELD_NUMBER |
static int |
DECIMAL_VAL_FIELD_NUMBER |
static int |
FLOAT_VAL_FIELD_NUMBER |
static int |
INT_VAL_FIELD_NUMBER |
static int |
JSON_IETF_VAL_FIELD_NUMBER |
static int |
JSON_VAL_FIELD_NUMBER |
static int |
LEAFLIST_VAL_FIELD_NUMBER |
static int |
PROTO_BYTES_FIELD_NUMBER |
static int |
STRING_VAL_FIELD_NUMBER |
static int |
UINT_VAL_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Any |
getAnyVal()
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.Decimal64OrBuilder |
getDecimalValOrBuilder()
Decimal64 encoded value.
|
static Gnmi.TypedValue |
getDefaultInstance() |
Gnmi.TypedValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<Gnmi.TypedValue> |
getParserForType() |
com.google.protobuf.ByteString |
getProtoBytes()
Protobuf binary encoded bytes.
|
int |
getSerializedSize() |
String |
getStringVal()
String value.
|
com.google.protobuf.ByteString |
getStringValBytes()
String value.
|
long |
getUintVal()
Unsigned integer value.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Gnmi.TypedValue.ValueCase |
getValueCase() |
boolean |
hasAnyVal()
protobuf.Any encoded bytes.
|
boolean |
hasDecimalVal()
Decimal64 encoded value.
|
int |
hashCode() |
boolean |
hasLeaflistVal()
Mixed type scalar array value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Gnmi.TypedValue.Builder |
newBuilder() |
static Gnmi.TypedValue.Builder |
newBuilder(Gnmi.TypedValue prototype) |
Gnmi.TypedValue.Builder |
newBuilderForType() |
protected Gnmi.TypedValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Gnmi.TypedValue |
parseDelimitedFrom(InputStream input) |
static Gnmi.TypedValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.TypedValue |
parseFrom(byte[] data) |
static Gnmi.TypedValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.TypedValue |
parseFrom(ByteBuffer data) |
static Gnmi.TypedValue |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.TypedValue |
parseFrom(com.google.protobuf.ByteString data) |
static Gnmi.TypedValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.TypedValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Gnmi.TypedValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gnmi.TypedValue |
parseFrom(InputStream input) |
static Gnmi.TypedValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Gnmi.TypedValue> |
parser() |
Gnmi.TypedValue.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int STRING_VAL_FIELD_NUMBER
public static final int INT_VAL_FIELD_NUMBER
public static final int UINT_VAL_FIELD_NUMBER
public static final int BOOL_VAL_FIELD_NUMBER
public static final int BYTES_VAL_FIELD_NUMBER
public static final int FLOAT_VAL_FIELD_NUMBER
public static final int DECIMAL_VAL_FIELD_NUMBER
public static final int LEAFLIST_VAL_FIELD_NUMBER
public static final int ANY_VAL_FIELD_NUMBER
public static final int JSON_VAL_FIELD_NUMBER
public static final int JSON_IETF_VAL_FIELD_NUMBER
public static final int ASCII_VAL_FIELD_NUMBER
public static final int PROTO_BYTES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public Gnmi.TypedValue.ValueCase getValueCase()
getValueCase
in interface Gnmi.TypedValueOrBuilder
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 long getIntVal()
Integer value.
int64 int_val = 2;
getIntVal
in interface Gnmi.TypedValueOrBuilder
public long getUintVal()
Unsigned integer value.
uint64 uint_val = 3;
getUintVal
in interface Gnmi.TypedValueOrBuilder
public boolean getBoolVal()
Bool value.
bool bool_val = 4;
getBoolVal
in interface Gnmi.TypedValueOrBuilder
public com.google.protobuf.ByteString getBytesVal()
Arbitrary byte sequence value.
bytes bytes_val = 5;
getBytesVal
in interface Gnmi.TypedValueOrBuilder
public float getFloatVal()
Floating point value.
float float_val = 6;
getFloatVal
in interface Gnmi.TypedValueOrBuilder
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.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.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 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 com.google.protobuf.ByteString getJsonIetfVal()
JSON-encoded text per RFC7951.
bytes json_ietf_val = 11;
getJsonIetfVal
in interface Gnmi.TypedValueOrBuilder
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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Gnmi.TypedValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.TypedValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.TypedValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.TypedValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.TypedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.TypedValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Gnmi.TypedValue parseFrom(InputStream input) throws IOException
IOException
public static Gnmi.TypedValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.TypedValue parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Gnmi.TypedValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Gnmi.TypedValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Gnmi.TypedValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Gnmi.TypedValue.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Gnmi.TypedValue.Builder newBuilder()
public static Gnmi.TypedValue.Builder newBuilder(Gnmi.TypedValue prototype)
public Gnmi.TypedValue.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Gnmi.TypedValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Gnmi.TypedValue getDefaultInstance()
public static com.google.protobuf.Parser<Gnmi.TypedValue> parser()
public com.google.protobuf.Parser<Gnmi.TypedValue> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Gnmi.TypedValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.