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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>
public MasterArbitrationUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MasterArbitrationUpdate build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MasterArbitrationUpdate buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MasterArbitrationUpdate.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MasterArbitrationUpdate.Builder>
IOException
public long getDeviceId()
uint64 device_id = 1;
getDeviceId
in interface MasterArbitrationUpdateOrBuilder
public 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 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 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 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 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 MasterArbitrationUpdateOrBuilder
public final MasterArbitrationUpdate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MasterArbitrationUpdate.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.