Class GnmiExt.Extension.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
- org.opennms.features.openconfig.proto.gnmi.GnmiExt.Extension.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GnmiExt.ExtensionOrBuilder
- Enclosing class:
- GnmiExt.Extension
public static final class GnmiExt.Extension.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder> implements GnmiExt.ExtensionOrBuilder
The Extension message contains a single gNMI extension.
Protobuf typegnmi_ext.Extension
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
clear
public GnmiExt.Extension.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
getDefaultInstanceForType
public GnmiExt.Extension getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GnmiExt.Extension build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GnmiExt.Extension buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GnmiExt.Extension.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
setField
public GnmiExt.Extension.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
clearField
public GnmiExt.Extension.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
clearOneof
public GnmiExt.Extension.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
setRepeatedField
public GnmiExt.Extension.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
addRepeatedField
public GnmiExt.Extension.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
mergeFrom
public GnmiExt.Extension.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GnmiExt.Extension.Builder>
-
mergeFrom
public GnmiExt.Extension.Builder mergeFrom(GnmiExt.Extension other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
mergeFrom
public GnmiExt.Extension.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GnmiExt.Extension.Builder>
- Throws:
IOException
-
getExtCase
public GnmiExt.Extension.ExtCase getExtCase()
- Specified by:
getExtCase
in interfaceGnmiExt.ExtensionOrBuilder
-
clearExt
public GnmiExt.Extension.Builder clearExt()
-
hasRegisteredExt
public boolean hasRegisteredExt()
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
- Specified by:
hasRegisteredExt
in interfaceGnmiExt.ExtensionOrBuilder
-
getRegisteredExt
public GnmiExt.RegisteredExtension getRegisteredExt()
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
- Specified by:
getRegisteredExt
in interfaceGnmiExt.ExtensionOrBuilder
-
setRegisteredExt
public GnmiExt.Extension.Builder setRegisteredExt(GnmiExt.RegisteredExtension value)
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
-
setRegisteredExt
public GnmiExt.Extension.Builder setRegisteredExt(GnmiExt.RegisteredExtension.Builder builderForValue)
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
-
mergeRegisteredExt
public GnmiExt.Extension.Builder mergeRegisteredExt(GnmiExt.RegisteredExtension value)
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
-
clearRegisteredExt
public GnmiExt.Extension.Builder clearRegisteredExt()
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
-
getRegisteredExtBuilder
public GnmiExt.RegisteredExtension.Builder getRegisteredExtBuilder()
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
-
getRegisteredExtOrBuilder
public GnmiExt.RegisteredExtensionOrBuilder getRegisteredExtOrBuilder()
A registered extension.
.gnmi_ext.RegisteredExtension registered_ext = 1;
- Specified by:
getRegisteredExtOrBuilder
in interfaceGnmiExt.ExtensionOrBuilder
-
hasMasterArbitration
public boolean hasMasterArbitration()
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
- Specified by:
hasMasterArbitration
in interfaceGnmiExt.ExtensionOrBuilder
-
getMasterArbitration
public GnmiExt.MasterArbitration getMasterArbitration()
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
- Specified by:
getMasterArbitration
in interfaceGnmiExt.ExtensionOrBuilder
-
setMasterArbitration
public GnmiExt.Extension.Builder setMasterArbitration(GnmiExt.MasterArbitration value)
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
-
setMasterArbitration
public GnmiExt.Extension.Builder setMasterArbitration(GnmiExt.MasterArbitration.Builder builderForValue)
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
-
mergeMasterArbitration
public GnmiExt.Extension.Builder mergeMasterArbitration(GnmiExt.MasterArbitration value)
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
-
clearMasterArbitration
public GnmiExt.Extension.Builder clearMasterArbitration()
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
-
getMasterArbitrationBuilder
public GnmiExt.MasterArbitration.Builder getMasterArbitrationBuilder()
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
-
getMasterArbitrationOrBuilder
public GnmiExt.MasterArbitrationOrBuilder getMasterArbitrationOrBuilder()
Well known extensions.
.gnmi_ext.MasterArbitration master_arbitration = 2;
- Specified by:
getMasterArbitrationOrBuilder
in interfaceGnmiExt.ExtensionOrBuilder
-
setUnknownFields
public final GnmiExt.Extension.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
mergeUnknownFields
public final GnmiExt.Extension.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.Extension.Builder>
-
-