public final class GetRequest extends com.google.protobuf.GeneratedMessageV3 implements GetRequestOrBuilder
GetRequest is sent when a client initiates a Get RPC. It is used to specify the set of data elements for which the target should return a snapshot of data. The use_models field specifies the set of schema modules that are to be used by the target - where use_models is not specified then the target must use all schema models that it has. Reference: gNMI Specification Section 3.3.1Protobuf type
gnmi.GetRequest
Modifier and Type | Class and Description |
---|---|
static class |
GetRequest.Builder
GetRequest is sent when a client initiates a Get RPC.
|
static class |
GetRequest.DataType
Type of elements within the data tree.
|
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
Modifier and Type | Field and Description |
---|---|
static int |
ENCODING_FIELD_NUMBER |
static int |
EXTENSION_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
PREFIX_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
USE_MODELS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static GetRequest |
getDefaultInstance() |
GetRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Encoding |
getEncoding()
Encoding to be used.
|
int |
getEncodingValue()
Encoding to be used.
|
Extension |
getExtension(int index)
Extension messages associated with the GetRequest.
|
int |
getExtensionCount()
Extension messages associated with the GetRequest.
|
List<Extension> |
getExtensionList()
Extension messages associated with the GetRequest.
|
ExtensionOrBuilder |
getExtensionOrBuilder(int index)
Extension messages associated with the GetRequest.
|
List<? extends ExtensionOrBuilder> |
getExtensionOrBuilderList()
Extension messages associated with the GetRequest.
|
com.google.protobuf.Parser<GetRequest> |
getParserForType() |
Path |
getPath(int index)
Paths requested by the client.
|
int |
getPathCount()
Paths requested by the client.
|
List<Path> |
getPathList()
Paths requested by the client.
|
PathOrBuilder |
getPathOrBuilder(int index)
Paths requested by the client.
|
List<? extends PathOrBuilder> |
getPathOrBuilderList()
Paths requested by the client.
|
Path |
getPrefix()
Prefix used for paths.
|
PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths.
|
int |
getSerializedSize() |
GetRequest.DataType |
getType()
The type of data being requested.
|
int |
getTypeValue()
The type of data being requested.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
ModelData |
getUseModels(int index)
The schema models to be used.
|
int |
getUseModelsCount()
The schema models to be used.
|
List<ModelData> |
getUseModelsList()
The schema models to be used.
|
ModelDataOrBuilder |
getUseModelsOrBuilder(int index)
The schema models to be used.
|
List<? extends ModelDataOrBuilder> |
getUseModelsOrBuilderList()
The schema models to be used.
|
int |
hashCode() |
boolean |
hasPrefix()
Prefix used for paths.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GetRequest.Builder |
newBuilder() |
static GetRequest.Builder |
newBuilder(GetRequest prototype) |
GetRequest.Builder |
newBuilderForType() |
protected GetRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static GetRequest |
parseDelimitedFrom(InputStream input) |
static GetRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GetRequest |
parseFrom(byte[] data) |
static GetRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GetRequest |
parseFrom(ByteBuffer data) |
static GetRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GetRequest |
parseFrom(com.google.protobuf.ByteString data) |
static GetRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GetRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GetRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GetRequest |
parseFrom(InputStream input) |
static GetRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GetRequest> |
parser() |
GetRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 PREFIX_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
public static final int USE_MODELS_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER
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 boolean hasPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
hasPrefix
in interface GetRequestOrBuilder
public Path getPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
getPrefix
in interface GetRequestOrBuilder
public PathOrBuilder getPrefixOrBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
getPrefixOrBuilder
in interface GetRequestOrBuilder
public List<Path> getPathList()
Paths requested by the client.
repeated .gnmi.Path path = 2;
getPathList
in interface GetRequestOrBuilder
public List<? extends PathOrBuilder> getPathOrBuilderList()
Paths requested by the client.
repeated .gnmi.Path path = 2;
getPathOrBuilderList
in interface GetRequestOrBuilder
public int getPathCount()
Paths requested by the client.
repeated .gnmi.Path path = 2;
getPathCount
in interface GetRequestOrBuilder
public Path getPath(int index)
Paths requested by the client.
repeated .gnmi.Path path = 2;
getPath
in interface GetRequestOrBuilder
public PathOrBuilder getPathOrBuilder(int index)
Paths requested by the client.
repeated .gnmi.Path path = 2;
getPathOrBuilder
in interface GetRequestOrBuilder
public int getTypeValue()
The type of data being requested.
.gnmi.GetRequest.DataType type = 3;
getTypeValue
in interface GetRequestOrBuilder
public GetRequest.DataType getType()
The type of data being requested.
.gnmi.GetRequest.DataType type = 3;
getType
in interface GetRequestOrBuilder
public int getEncodingValue()
Encoding to be used.
.gnmi.Encoding encoding = 5;
getEncodingValue
in interface GetRequestOrBuilder
public Encoding getEncoding()
Encoding to be used.
.gnmi.Encoding encoding = 5;
getEncoding
in interface GetRequestOrBuilder
public List<ModelData> getUseModelsList()
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
getUseModelsList
in interface GetRequestOrBuilder
public List<? extends ModelDataOrBuilder> getUseModelsOrBuilderList()
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
getUseModelsOrBuilderList
in interface GetRequestOrBuilder
public int getUseModelsCount()
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
getUseModelsCount
in interface GetRequestOrBuilder
public ModelData getUseModels(int index)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
getUseModels
in interface GetRequestOrBuilder
public ModelDataOrBuilder getUseModelsOrBuilder(int index)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
getUseModelsOrBuilder
in interface GetRequestOrBuilder
public List<Extension> getExtensionList()
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
getExtensionList
in interface GetRequestOrBuilder
public List<? extends ExtensionOrBuilder> getExtensionOrBuilderList()
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
getExtensionOrBuilderList
in interface GetRequestOrBuilder
public int getExtensionCount()
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
getExtensionCount
in interface GetRequestOrBuilder
public Extension getExtension(int index)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
getExtension
in interface GetRequestOrBuilder
public ExtensionOrBuilder getExtensionOrBuilder(int index)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
getExtensionOrBuilder
in interface GetRequestOrBuilder
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 GetRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GetRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GetRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GetRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GetRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GetRequest parseFrom(InputStream input) throws IOException
IOException
public static GetRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GetRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GetRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GetRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static GetRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GetRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static GetRequest.Builder newBuilder()
public static GetRequest.Builder newBuilder(GetRequest prototype)
public GetRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected GetRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static GetRequest getDefaultInstance()
public static com.google.protobuf.Parser<GetRequest> parser()
public com.google.protobuf.Parser<GetRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public GetRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.