public static final class MasterArbitrationUpdate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder> implements MasterArbitrationUpdateOrBuilder
p4.MasterArbitrationUpdate| Modifier and Type | Method and Description |
|---|---|
MasterArbitrationUpdate.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MasterArbitrationUpdate |
build() |
MasterArbitrationUpdate |
buildPartial() |
MasterArbitrationUpdate.Builder |
clear() |
MasterArbitrationUpdate.Builder |
clearDeviceId()
uint64 device_id = 1; |
MasterArbitrationUpdate.Builder |
clearElectionId()
The stream RPC with the highest election_id is the master.
|
MasterArbitrationUpdate.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MasterArbitrationUpdate.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MasterArbitrationUpdate.Builder |
clearStatus()
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
MasterArbitrationUpdate.Builder |
clone() |
MasterArbitrationUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getDeviceId()
uint64 device_id = 1; |
Uint128 |
getElectionId()
The stream RPC with the highest election_id is the master.
|
Uint128.Builder |
getElectionIdBuilder()
The stream RPC with the highest election_id is the master.
|
Uint128OrBuilder |
getElectionIdOrBuilder()
The stream RPC with the highest election_id is the master.
|
com.google.rpc.Status |
getStatus()
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
com.google.rpc.Status.Builder |
getStatusBuilder()
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
boolean |
hasElectionId()
The stream RPC with the highest election_id is the master.
|
boolean |
hasStatus()
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MasterArbitrationUpdate.Builder |
mergeElectionId(Uint128 value)
The stream RPC with the highest election_id is the master.
|
MasterArbitrationUpdate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MasterArbitrationUpdate.Builder |
mergeFrom(MasterArbitrationUpdate other) |
MasterArbitrationUpdate.Builder |
mergeFrom(com.google.protobuf.Message other) |
MasterArbitrationUpdate.Builder |
mergeStatus(com.google.rpc.Status value)
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
MasterArbitrationUpdate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MasterArbitrationUpdate.Builder |
setDeviceId(long value)
uint64 device_id = 1; |
MasterArbitrationUpdate.Builder |
setElectionId(Uint128.Builder builderForValue)
The stream RPC with the highest election_id is the master.
|
MasterArbitrationUpdate.Builder |
setElectionId(Uint128 value)
The stream RPC with the highest election_id is the master.
|
MasterArbitrationUpdate.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MasterArbitrationUpdate.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MasterArbitrationUpdate.Builder |
setStatus(com.google.rpc.Status.Builder builderForValue)
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
MasterArbitrationUpdate.Builder |
setStatus(com.google.rpc.Status value)
Switch populates this with OK for the client that is the master, and with
an error status for all other connected clients (at every mastership
change).
|
MasterArbitrationUpdate.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, 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<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.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<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MasterArbitrationUpdate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MasterArbitrationUpdate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MasterArbitrationUpdate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.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<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.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<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.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<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.Builder mergeFrom(MasterArbitrationUpdate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>public MasterArbitrationUpdate.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<MasterArbitrationUpdate.Builder>IOExceptionpublic long getDeviceId()
uint64 device_id = 1;getDeviceId in interface MasterArbitrationUpdateOrBuilderpublic MasterArbitrationUpdate.Builder setDeviceId(long value)
uint64 device_id = 1;public MasterArbitrationUpdate.Builder clearDeviceId()
uint64 device_id = 1;public boolean hasElectionId()
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;hasElectionId in interface MasterArbitrationUpdateOrBuilderpublic Uint128 getElectionId()
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;getElectionId in interface MasterArbitrationUpdateOrBuilderpublic MasterArbitrationUpdate.Builder setElectionId(Uint128 value)
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;public MasterArbitrationUpdate.Builder setElectionId(Uint128.Builder builderForValue)
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;public MasterArbitrationUpdate.Builder mergeElectionId(Uint128 value)
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;public MasterArbitrationUpdate.Builder clearElectionId()
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;public Uint128.Builder getElectionIdBuilder()
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;public Uint128OrBuilder getElectionIdOrBuilder()
The stream RPC with the highest election_id is the master. The 'master' controller instance populates this with its latest election_id. Switch populates with the highest election ID it has received from all connected controllers.
.p4.Uint128 election_id = 2;getElectionIdOrBuilder in interface MasterArbitrationUpdateOrBuilderpublic boolean hasStatus()
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;hasStatus in interface MasterArbitrationUpdateOrBuilderpublic com.google.rpc.Status getStatus()
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;getStatus in interface MasterArbitrationUpdateOrBuilderpublic MasterArbitrationUpdate.Builder setStatus(com.google.rpc.Status value)
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;public MasterArbitrationUpdate.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;public MasterArbitrationUpdate.Builder mergeStatus(com.google.rpc.Status value)
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;public MasterArbitrationUpdate.Builder clearStatus()
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;public com.google.rpc.Status.Builder getStatusBuilder()
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Switch populates this with OK for the client that is the master, and with an error status for all other connected clients (at every mastership change). The controller does not populate this field.
.google.rpc.Status status = 3;getStatusOrBuilder in interface MasterArbitrationUpdateOrBuilderpublic final MasterArbitrationUpdate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>public final MasterArbitrationUpdate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>Copyright © 2018 OpenDaylight. All rights reserved.