public static final class GetRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetRequest.Builder> 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 | Method and Description |
---|---|
GetRequest.Builder |
addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
addAllPath(Iterable<? extends Path> values)
Paths requested by the client.
|
GetRequest.Builder |
addAllUseModels(Iterable<? extends ModelData> values)
The schema models to be used.
|
GetRequest.Builder |
addExtension(Extension.Builder builderForValue)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
addExtension(Extension value)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
addExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
addExtension(int index,
Extension value)
Extension messages associated with the GetRequest.
|
Extension.Builder |
addExtensionBuilder()
Extension messages associated with the GetRequest.
|
Extension.Builder |
addExtensionBuilder(int index)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
addPath(int index,
Path.Builder builderForValue)
Paths requested by the client.
|
GetRequest.Builder |
addPath(int index,
Path value)
Paths requested by the client.
|
GetRequest.Builder |
addPath(Path.Builder builderForValue)
Paths requested by the client.
|
GetRequest.Builder |
addPath(Path value)
Paths requested by the client.
|
Path.Builder |
addPathBuilder()
Paths requested by the client.
|
Path.Builder |
addPathBuilder(int index)
Paths requested by the client.
|
GetRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetRequest.Builder |
addUseModels(int index,
ModelData.Builder builderForValue)
The schema models to be used.
|
GetRequest.Builder |
addUseModels(int index,
ModelData value)
The schema models to be used.
|
GetRequest.Builder |
addUseModels(ModelData.Builder builderForValue)
The schema models to be used.
|
GetRequest.Builder |
addUseModels(ModelData value)
The schema models to be used.
|
ModelData.Builder |
addUseModelsBuilder()
The schema models to be used.
|
ModelData.Builder |
addUseModelsBuilder(int index)
The schema models to be used.
|
GetRequest |
build() |
GetRequest |
buildPartial() |
GetRequest.Builder |
clear() |
GetRequest.Builder |
clearEncoding()
Encoding to be used.
|
GetRequest.Builder |
clearExtension()
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetRequest.Builder |
clearPath()
Paths requested by the client.
|
GetRequest.Builder |
clearPrefix()
Prefix used for paths.
|
GetRequest.Builder |
clearType()
The type of data being requested.
|
GetRequest.Builder |
clearUseModels()
The schema models to be used.
|
GetRequest.Builder |
clone() |
GetRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Encoding |
getEncoding()
Encoding to be used.
|
int |
getEncodingValue()
Encoding to be used.
|
Extension |
getExtension(int index)
Extension messages associated with the GetRequest.
|
Extension.Builder |
getExtensionBuilder(int index)
Extension messages associated with the GetRequest.
|
List<Extension.Builder> |
getExtensionBuilderList()
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.
|
Path |
getPath(int index)
Paths requested by the client.
|
Path.Builder |
getPathBuilder(int index)
Paths requested by the client.
|
List<Path.Builder> |
getPathBuilderList()
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.
|
Path.Builder |
getPrefixBuilder()
Prefix used for paths.
|
PathOrBuilder |
getPrefixOrBuilder()
Prefix used for paths.
|
GetRequest.DataType |
getType()
The type of data being requested.
|
int |
getTypeValue()
The type of data being requested.
|
ModelData |
getUseModels(int index)
The schema models to be used.
|
ModelData.Builder |
getUseModelsBuilder(int index)
The schema models to be used.
|
List<ModelData.Builder> |
getUseModelsBuilderList()
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.
|
boolean |
hasPrefix()
Prefix used for paths.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetRequest.Builder |
mergeFrom(GetRequest other) |
GetRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetRequest.Builder |
mergePrefix(Path value)
Prefix used for paths.
|
GetRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetRequest.Builder |
removeExtension(int index)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
removePath(int index)
Paths requested by the client.
|
GetRequest.Builder |
removeUseModels(int index)
The schema models to be used.
|
GetRequest.Builder |
setEncoding(Encoding value)
Encoding to be used.
|
GetRequest.Builder |
setEncodingValue(int value)
Encoding to be used.
|
GetRequest.Builder |
setExtension(int index,
Extension.Builder builderForValue)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
setExtension(int index,
Extension value)
Extension messages associated with the GetRequest.
|
GetRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetRequest.Builder |
setPath(int index,
Path.Builder builderForValue)
Paths requested by the client.
|
GetRequest.Builder |
setPath(int index,
Path value)
Paths requested by the client.
|
GetRequest.Builder |
setPrefix(Path.Builder builderForValue)
Prefix used for paths.
|
GetRequest.Builder |
setPrefix(Path value)
Prefix used for paths.
|
GetRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetRequest.Builder |
setType(GetRequest.DataType value)
The type of data being requested.
|
GetRequest.Builder |
setTypeValue(int value)
The type of data being requested.
|
GetRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetRequest.Builder |
setUseModels(int index,
ModelData.Builder builderForValue)
The schema models to be used.
|
GetRequest.Builder |
setUseModels(int index,
ModelData value)
The schema models to be used.
|
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<GetRequest.Builder>
public GetRequest.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<GetRequest.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<GetRequest.Builder>
public GetRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GetRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GetRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GetRequest.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<GetRequest.Builder>
public GetRequest.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<GetRequest.Builder>
public GetRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<GetRequest.Builder>
public GetRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<GetRequest.Builder>
public GetRequest.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<GetRequest.Builder>
public GetRequest.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<GetRequest.Builder>
public GetRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GetRequest.Builder>
public GetRequest.Builder mergeFrom(GetRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<GetRequest.Builder>
public GetRequest.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<GetRequest.Builder>
IOException
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 GetRequest.Builder setPrefix(Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
public GetRequest.Builder setPrefix(Path.Builder builderForValue)
Prefix used for paths.
.gnmi.Path prefix = 1;
public GetRequest.Builder mergePrefix(Path value)
Prefix used for paths.
.gnmi.Path prefix = 1;
public GetRequest.Builder clearPrefix()
Prefix used for paths.
.gnmi.Path prefix = 1;
public Path.Builder getPrefixBuilder()
Prefix used for paths.
.gnmi.Path prefix = 1;
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 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 GetRequest.Builder setPath(int index, Path value)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder setPath(int index, Path.Builder builderForValue)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder addPath(Path value)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder addPath(int index, Path value)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder addPath(Path.Builder builderForValue)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder addPath(int index, Path.Builder builderForValue)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder addAllPath(Iterable<? extends Path> values)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder clearPath()
Paths requested by the client.
repeated .gnmi.Path path = 2;
public GetRequest.Builder removePath(int index)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public Path.Builder getPathBuilder(int index)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public PathOrBuilder getPathOrBuilder(int index)
Paths requested by the client.
repeated .gnmi.Path path = 2;
getPathOrBuilder
in interface GetRequestOrBuilder
public List<? extends PathOrBuilder> getPathOrBuilderList()
Paths requested by the client.
repeated .gnmi.Path path = 2;
getPathOrBuilderList
in interface GetRequestOrBuilder
public Path.Builder addPathBuilder()
Paths requested by the client.
repeated .gnmi.Path path = 2;
public Path.Builder addPathBuilder(int index)
Paths requested by the client.
repeated .gnmi.Path path = 2;
public List<Path.Builder> getPathBuilderList()
Paths requested by the client.
repeated .gnmi.Path path = 2;
public int getTypeValue()
The type of data being requested.
.gnmi.GetRequest.DataType type = 3;
getTypeValue
in interface GetRequestOrBuilder
public GetRequest.Builder setTypeValue(int value)
The type of data being requested.
.gnmi.GetRequest.DataType type = 3;
public GetRequest.DataType getType()
The type of data being requested.
.gnmi.GetRequest.DataType type = 3;
getType
in interface GetRequestOrBuilder
public GetRequest.Builder setType(GetRequest.DataType value)
The type of data being requested.
.gnmi.GetRequest.DataType type = 3;
public GetRequest.Builder clearType()
The type of data being requested.
.gnmi.GetRequest.DataType type = 3;
public int getEncodingValue()
Encoding to be used.
.gnmi.Encoding encoding = 5;
getEncodingValue
in interface GetRequestOrBuilder
public GetRequest.Builder setEncodingValue(int value)
Encoding to be used.
.gnmi.Encoding encoding = 5;
public Encoding getEncoding()
Encoding to be used.
.gnmi.Encoding encoding = 5;
getEncoding
in interface GetRequestOrBuilder
public GetRequest.Builder setEncoding(Encoding value)
Encoding to be used.
.gnmi.Encoding encoding = 5;
public GetRequest.Builder clearEncoding()
Encoding to be used.
.gnmi.Encoding encoding = 5;
public List<ModelData> getUseModelsList()
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
getUseModelsList
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 GetRequest.Builder setUseModels(int index, ModelData value)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder setUseModels(int index, ModelData.Builder builderForValue)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder addUseModels(ModelData value)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder addUseModels(int index, ModelData value)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder addUseModels(ModelData.Builder builderForValue)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder addUseModels(int index, ModelData.Builder builderForValue)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder addAllUseModels(Iterable<? extends ModelData> values)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder clearUseModels()
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public GetRequest.Builder removeUseModels(int index)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public ModelData.Builder getUseModelsBuilder(int index)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public ModelDataOrBuilder getUseModelsOrBuilder(int index)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
getUseModelsOrBuilder
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 ModelData.Builder addUseModelsBuilder()
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public ModelData.Builder addUseModelsBuilder(int index)
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
public List<ModelData.Builder> getUseModelsBuilderList()
The schema models to be used.
repeated .gnmi.ModelData use_models = 6;
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 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 GetRequest.Builder setExtension(int index, Extension value)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder setExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder addExtension(Extension value)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder addExtension(int index, Extension value)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder addExtension(Extension.Builder builderForValue)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder addExtension(int index, Extension.Builder builderForValue)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder addAllExtension(Iterable<? extends Extension> values)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder clearExtension()
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public GetRequest.Builder removeExtension(int index)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public Extension.Builder getExtensionBuilder(int index)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
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 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 Extension.Builder addExtensionBuilder()
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public Extension.Builder addExtensionBuilder(int index)
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public List<Extension.Builder> getExtensionBuilderList()
Extension messages associated with the GetRequest. See the gNMI extension specification for further definition.
repeated .gnmi_ext.Extension extension = 7;
public final GetRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<GetRequest.Builder>
public final GetRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<GetRequest.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.