public interface MasterArbitrationUpdateOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getDeviceId()
uint64 device_id = 1; |
Uint128 |
getElectionId()
The stream RPC with the highest election_id is the master.
|
Uint128OrBuilder |
getElectionIdOrBuilder()
The stream RPC with the highest election_id is the master.
|
Role |
getRole()
The role for which the mastership is being arbitrated.
|
RoleOrBuilder |
getRoleOrBuilder()
The role for which the mastership is being arbitrated.
|
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.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 |
hasRole()
The role for which the mastership is being arbitrated.
|
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).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getDeviceId()
uint64 device_id = 1;
boolean hasRole()
The role for which the mastership is being arbitrated. For use-cases where where multiple roles are not needed, the controller can leave this unset, implying default role and full pipeline access.
.p4.v1.Role role = 2;
Role getRole()
The role for which the mastership is being arbitrated. For use-cases where where multiple roles are not needed, the controller can leave this unset, implying default role and full pipeline access.
.p4.v1.Role role = 2;
RoleOrBuilder getRoleOrBuilder()
The role for which the mastership is being arbitrated. For use-cases where where multiple roles are not needed, the controller can leave this unset, implying default role and full pipeline access.
.p4.v1.Role role = 2;
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.v1.Uint128 election_id = 3;
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.v1.Uint128 election_id = 3;
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.v1.Uint128 election_id = 3;
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 = 4;
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 = 4;
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 = 4;
Copyright © 2018 OpenDaylight. All rights reserved.