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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public long getDeviceId()
uint64 device_id = 1;
getDeviceId
in interface MasterArbitrationUpdateOrBuilder
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 MasterArbitrationUpdateOrBuilder
public 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 MasterArbitrationUpdateOrBuilder
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 MasterArbitrationUpdateOrBuilder
public 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 MasterArbitrationUpdateOrBuilder
public 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 MasterArbitrationUpdateOrBuilder
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 MasterArbitrationUpdateOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static MasterArbitrationUpdate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MasterArbitrationUpdate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MasterArbitrationUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MasterArbitrationUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MasterArbitrationUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MasterArbitrationUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MasterArbitrationUpdate parseFrom(InputStream input) throws IOException
IOException
public static MasterArbitrationUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MasterArbitrationUpdate parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MasterArbitrationUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MasterArbitrationUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static MasterArbitrationUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public MasterArbitrationUpdate.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static MasterArbitrationUpdate.Builder newBuilder()
public static MasterArbitrationUpdate.Builder newBuilder(MasterArbitrationUpdate prototype)
public MasterArbitrationUpdate.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected MasterArbitrationUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static MasterArbitrationUpdate getDefaultInstance()
public static com.google.protobuf.Parser<MasterArbitrationUpdate> parser()
public com.google.protobuf.Parser<MasterArbitrationUpdate> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public MasterArbitrationUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.