public static final class GnmiExt.MasterArbitration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder> implements GnmiExt.MasterArbitrationOrBuilder
MasterArbitration is used to select the master among multiple gNMI clients with the same Roles. The client with the largest election_id is honored as the master. The document about gNMI master arbitration can be found at https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-master-arbitration.mdProtobuf type
gnmi_ext.MasterArbitrationgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GnmiExt.MasterArbitration build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GnmiExt.MasterArbitration buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GnmiExt.MasterArbitration.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder mergeFrom(GnmiExt.MasterArbitration other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public GnmiExt.MasterArbitration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GnmiExt.MasterArbitration.Builder>IOExceptionpublic boolean hasRole()
.gnmi_ext.Role role = 1;hasRole in interface GnmiExt.MasterArbitrationOrBuilderpublic GnmiExt.Role getRole()
.gnmi_ext.Role role = 1;getRole in interface GnmiExt.MasterArbitrationOrBuilderpublic GnmiExt.MasterArbitration.Builder setRole(GnmiExt.Role value)
.gnmi_ext.Role role = 1;public GnmiExt.MasterArbitration.Builder setRole(GnmiExt.Role.Builder builderForValue)
.gnmi_ext.Role role = 1;public GnmiExt.MasterArbitration.Builder mergeRole(GnmiExt.Role value)
.gnmi_ext.Role role = 1;public GnmiExt.MasterArbitration.Builder clearRole()
.gnmi_ext.Role role = 1;public GnmiExt.Role.Builder getRoleBuilder()
.gnmi_ext.Role role = 1;public GnmiExt.RoleOrBuilder getRoleOrBuilder()
.gnmi_ext.Role role = 1;getRoleOrBuilder in interface GnmiExt.MasterArbitrationOrBuilderpublic boolean hasElectionId()
.gnmi_ext.Uint128 election_id = 2;hasElectionId in interface GnmiExt.MasterArbitrationOrBuilderpublic GnmiExt.Uint128 getElectionId()
.gnmi_ext.Uint128 election_id = 2;getElectionId in interface GnmiExt.MasterArbitrationOrBuilderpublic GnmiExt.MasterArbitration.Builder setElectionId(GnmiExt.Uint128 value)
.gnmi_ext.Uint128 election_id = 2;public GnmiExt.MasterArbitration.Builder setElectionId(GnmiExt.Uint128.Builder builderForValue)
.gnmi_ext.Uint128 election_id = 2;public GnmiExt.MasterArbitration.Builder mergeElectionId(GnmiExt.Uint128 value)
.gnmi_ext.Uint128 election_id = 2;public GnmiExt.MasterArbitration.Builder clearElectionId()
.gnmi_ext.Uint128 election_id = 2;public GnmiExt.Uint128.Builder getElectionIdBuilder()
.gnmi_ext.Uint128 election_id = 2;public GnmiExt.Uint128OrBuilder getElectionIdOrBuilder()
.gnmi_ext.Uint128 election_id = 2;getElectionIdOrBuilder in interface GnmiExt.MasterArbitrationOrBuilderpublic final GnmiExt.MasterArbitration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>public final GnmiExt.MasterArbitration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GnmiExt.MasterArbitration.Builder>Copyright © 2022. All rights reserved.