public final class MasterArbitrationUpdate extends com.google.protobuf.GeneratedMessageV3 implements MasterArbitrationUpdateOrBuilder
p4.MasterArbitrationUpdate| Modifier and Type | Class and Description |
|---|---|
static class |
MasterArbitrationUpdate.Builder
Protobuf type
p4.MasterArbitrationUpdate |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DEVICE_ID_FIELD_NUMBER |
static int |
ELECTION_ID_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MasterArbitrationUpdate |
getDefaultInstance() |
MasterArbitrationUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<MasterArbitrationUpdate> |
getParserForType() |
int |
getSerializedSize() |
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).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasElectionId()
The stream RPC with the highest election_id is the master.
|
int |
hashCode() |
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() |
static MasterArbitrationUpdate.Builder |
newBuilder() |
static MasterArbitrationUpdate.Builder |
newBuilder(MasterArbitrationUpdate prototype) |
MasterArbitrationUpdate.Builder |
newBuilderForType() |
protected MasterArbitrationUpdate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static MasterArbitrationUpdate |
parseDelimitedFrom(InputStream input) |
static MasterArbitrationUpdate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MasterArbitrationUpdate |
parseFrom(byte[] data) |
static MasterArbitrationUpdate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MasterArbitrationUpdate |
parseFrom(ByteBuffer data) |
static MasterArbitrationUpdate |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MasterArbitrationUpdate |
parseFrom(com.google.protobuf.ByteString data) |
static MasterArbitrationUpdate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MasterArbitrationUpdate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MasterArbitrationUpdate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MasterArbitrationUpdate |
parseFrom(InputStream input) |
static MasterArbitrationUpdate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MasterArbitrationUpdate> |
parser() |
MasterArbitrationUpdate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DEVICE_ID_FIELD_NUMBER
public static final int ELECTION_ID_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getDeviceId()
uint64 device_id = 1;getDeviceId in interface MasterArbitrationUpdateOrBuilderpublic 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 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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MasterArbitrationUpdate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MasterArbitrationUpdate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MasterArbitrationUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MasterArbitrationUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MasterArbitrationUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MasterArbitrationUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MasterArbitrationUpdate parseFrom(InputStream input) throws IOException
IOExceptionpublic static MasterArbitrationUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MasterArbitrationUpdate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MasterArbitrationUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MasterArbitrationUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MasterArbitrationUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MasterArbitrationUpdate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MasterArbitrationUpdate.Builder newBuilder()
public static MasterArbitrationUpdate.Builder newBuilder(MasterArbitrationUpdate prototype)
public MasterArbitrationUpdate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MasterArbitrationUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MasterArbitrationUpdate getDefaultInstance()
public static com.google.protobuf.Parser<MasterArbitrationUpdate> parser()
public com.google.protobuf.Parser<MasterArbitrationUpdate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MasterArbitrationUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 OpenDaylight. All rights reserved.