public static final class GnmiExt.RegisteredExtension.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.RegisteredExtension.Builder> implements GnmiExt.RegisteredExtensionOrBuilder
The RegisteredExtension message defines an extension which is defined outside of this file.Protobuf type
gnmi_ext.RegisteredExtension
Modifier and Type | Method and Description |
---|---|
GnmiExt.RegisteredExtension.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GnmiExt.RegisteredExtension |
build() |
GnmiExt.RegisteredExtension |
buildPartial() |
GnmiExt.RegisteredExtension.Builder |
clear() |
GnmiExt.RegisteredExtension.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GnmiExt.RegisteredExtension.Builder |
clearId()
The unique ID assigned to this extension.
|
GnmiExt.RegisteredExtension.Builder |
clearMsg()
The binary-marshalled protobuf extension payload.
|
GnmiExt.RegisteredExtension.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GnmiExt.RegisteredExtension.Builder |
clone() |
GnmiExt.RegisteredExtension |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GnmiExt.ExtensionID |
getId()
The unique ID assigned to this extension.
|
int |
getIdValue()
The unique ID assigned to this extension.
|
com.google.protobuf.ByteString |
getMsg()
The binary-marshalled protobuf extension payload.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GnmiExt.RegisteredExtension.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GnmiExt.RegisteredExtension.Builder |
mergeFrom(GnmiExt.RegisteredExtension other) |
GnmiExt.RegisteredExtension.Builder |
mergeFrom(com.google.protobuf.Message other) |
GnmiExt.RegisteredExtension.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GnmiExt.RegisteredExtension.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GnmiExt.RegisteredExtension.Builder |
setId(GnmiExt.ExtensionID value)
The unique ID assigned to this extension.
|
GnmiExt.RegisteredExtension.Builder |
setIdValue(int value)
The unique ID assigned to this extension.
|
GnmiExt.RegisteredExtension.Builder |
setMsg(com.google.protobuf.ByteString value)
The binary-marshalled protobuf extension payload.
|
GnmiExt.RegisteredExtension.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GnmiExt.RegisteredExtension build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GnmiExt.RegisteredExtension buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.Builder mergeFrom(GnmiExt.RegisteredExtension other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.RegisteredExtension.Builder>
public GnmiExt.RegisteredExtension.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<GnmiExt.RegisteredExtension.Builder>
IOException
public int getIdValue()
The unique ID assigned to this extension.
.gnmi_ext.ExtensionID id = 1;
getIdValue
in interface GnmiExt.RegisteredExtensionOrBuilder
public GnmiExt.RegisteredExtension.Builder setIdValue(int value)
The unique ID assigned to this extension.
.gnmi_ext.ExtensionID id = 1;
public GnmiExt.ExtensionID getId()
The unique ID assigned to this extension.
.gnmi_ext.ExtensionID id = 1;
getId
in interface GnmiExt.RegisteredExtensionOrBuilder
public GnmiExt.RegisteredExtension.Builder setId(GnmiExt.ExtensionID value)
The unique ID assigned to this extension.
.gnmi_ext.ExtensionID id = 1;
public GnmiExt.RegisteredExtension.Builder clearId()
The unique ID assigned to this extension.
.gnmi_ext.ExtensionID id = 1;
public com.google.protobuf.ByteString getMsg()
The binary-marshalled protobuf extension payload.
bytes msg = 2;
getMsg
in interface GnmiExt.RegisteredExtensionOrBuilder
public GnmiExt.RegisteredExtension.Builder setMsg(com.google.protobuf.ByteString value)
The binary-marshalled protobuf extension payload.
bytes msg = 2;
public GnmiExt.RegisteredExtension.Builder clearMsg()
The binary-marshalled protobuf extension payload.
bytes msg = 2;
public final GnmiExt.RegisteredExtension.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.RegisteredExtension.Builder>
public final GnmiExt.RegisteredExtension.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.RegisteredExtension.Builder>
Copyright © 2021. All rights reserved.