public static final class WriteRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder> implements WriteRequestOrBuilder
------------------------------------------------------------------------------Protobuf type
p4.v1.WriteRequest
Modifier and Type | Method and Description |
---|---|
WriteRequest.Builder |
addAllUpdates(Iterable<? extends Update> values)
The write batch, comprising a list of Update operations.
|
WriteRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteRequest.Builder |
addUpdates(int index,
Update.Builder builderForValue)
The write batch, comprising a list of Update operations.
|
WriteRequest.Builder |
addUpdates(int index,
Update value)
The write batch, comprising a list of Update operations.
|
WriteRequest.Builder |
addUpdates(Update.Builder builderForValue)
The write batch, comprising a list of Update operations.
|
WriteRequest.Builder |
addUpdates(Update value)
The write batch, comprising a list of Update operations.
|
Update.Builder |
addUpdatesBuilder()
The write batch, comprising a list of Update operations.
|
Update.Builder |
addUpdatesBuilder(int index)
The write batch, comprising a list of Update operations.
|
WriteRequest |
build() |
WriteRequest |
buildPartial() |
WriteRequest.Builder |
clear() |
WriteRequest.Builder |
clearAtomicity()
.p4.v1.WriteRequest.Atomicity atomicity = 5; |
WriteRequest.Builder |
clearDeviceId()
uint64 device_id = 1; |
WriteRequest.Builder |
clearElectionId()
.p4.v1.Uint128 election_id = 3; |
WriteRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WriteRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WriteRequest.Builder |
clearRoleId()
uint64 role_id = 2; |
WriteRequest.Builder |
clearUpdates()
The write batch, comprising a list of Update operations.
|
WriteRequest.Builder |
clone() |
WriteRequest.Atomicity |
getAtomicity()
.p4.v1.WriteRequest.Atomicity atomicity = 5; |
int |
getAtomicityValue()
.p4.v1.WriteRequest.Atomicity atomicity = 5; |
WriteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getDeviceId()
uint64 device_id = 1; |
Uint128 |
getElectionId()
.p4.v1.Uint128 election_id = 3; |
Uint128.Builder |
getElectionIdBuilder()
.p4.v1.Uint128 election_id = 3; |
Uint128OrBuilder |
getElectionIdOrBuilder()
.p4.v1.Uint128 election_id = 3; |
long |
getRoleId()
uint64 role_id = 2; |
Update |
getUpdates(int index)
The write batch, comprising a list of Update operations.
|
Update.Builder |
getUpdatesBuilder(int index)
The write batch, comprising a list of Update operations.
|
List<Update.Builder> |
getUpdatesBuilderList()
The write batch, comprising a list of Update operations.
|
int |
getUpdatesCount()
The write batch, comprising a list of Update operations.
|
List<Update> |
getUpdatesList()
The write batch, comprising a list of Update operations.
|
UpdateOrBuilder |
getUpdatesOrBuilder(int index)
The write batch, comprising a list of Update operations.
|
List<? extends UpdateOrBuilder> |
getUpdatesOrBuilderList()
The write batch, comprising a list of Update operations.
|
boolean |
hasElectionId()
.p4.v1.Uint128 election_id = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WriteRequest.Builder |
mergeElectionId(Uint128 value)
.p4.v1.Uint128 election_id = 3; |
WriteRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WriteRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
WriteRequest.Builder |
mergeFrom(WriteRequest other) |
WriteRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteRequest.Builder |
removeUpdates(int index)
The write batch, comprising a list of Update operations.
|
WriteRequest.Builder |
setAtomicity(WriteRequest.Atomicity value)
.p4.v1.WriteRequest.Atomicity atomicity = 5; |
WriteRequest.Builder |
setAtomicityValue(int value)
.p4.v1.WriteRequest.Atomicity atomicity = 5; |
WriteRequest.Builder |
setDeviceId(long value)
uint64 device_id = 1; |
WriteRequest.Builder |
setElectionId(Uint128.Builder builderForValue)
.p4.v1.Uint128 election_id = 3; |
WriteRequest.Builder |
setElectionId(Uint128 value)
.p4.v1.Uint128 election_id = 3; |
WriteRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WriteRequest.Builder |
setRoleId(long value)
uint64 role_id = 2; |
WriteRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteRequest.Builder |
setUpdates(int index,
Update.Builder builderForValue)
The write batch, comprising a list of Update operations.
|
WriteRequest.Builder |
setUpdates(int index,
Update value)
The write batch, comprising a list of Update operations.
|
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<WriteRequest.Builder>
public WriteRequest.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<WriteRequest.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<WriteRequest.Builder>
public WriteRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WriteRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WriteRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WriteRequest.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<WriteRequest.Builder>
public WriteRequest.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<WriteRequest.Builder>
public WriteRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>
public WriteRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>
public WriteRequest.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<WriteRequest.Builder>
public WriteRequest.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<WriteRequest.Builder>
public WriteRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WriteRequest.Builder>
public WriteRequest.Builder mergeFrom(WriteRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>
public WriteRequest.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<WriteRequest.Builder>
IOException
public long getDeviceId()
uint64 device_id = 1;
getDeviceId
in interface WriteRequestOrBuilder
public WriteRequest.Builder setDeviceId(long value)
uint64 device_id = 1;
public WriteRequest.Builder clearDeviceId()
uint64 device_id = 1;
public long getRoleId()
uint64 role_id = 2;
getRoleId
in interface WriteRequestOrBuilder
public WriteRequest.Builder setRoleId(long value)
uint64 role_id = 2;
public WriteRequest.Builder clearRoleId()
uint64 role_id = 2;
public boolean hasElectionId()
.p4.v1.Uint128 election_id = 3;
hasElectionId
in interface WriteRequestOrBuilder
public Uint128 getElectionId()
.p4.v1.Uint128 election_id = 3;
getElectionId
in interface WriteRequestOrBuilder
public WriteRequest.Builder setElectionId(Uint128 value)
.p4.v1.Uint128 election_id = 3;
public WriteRequest.Builder setElectionId(Uint128.Builder builderForValue)
.p4.v1.Uint128 election_id = 3;
public WriteRequest.Builder mergeElectionId(Uint128 value)
.p4.v1.Uint128 election_id = 3;
public WriteRequest.Builder clearElectionId()
.p4.v1.Uint128 election_id = 3;
public Uint128.Builder getElectionIdBuilder()
.p4.v1.Uint128 election_id = 3;
public Uint128OrBuilder getElectionIdOrBuilder()
.p4.v1.Uint128 election_id = 3;
getElectionIdOrBuilder
in interface WriteRequestOrBuilder
public List<Update> getUpdatesList()
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
getUpdatesList
in interface WriteRequestOrBuilder
public int getUpdatesCount()
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
getUpdatesCount
in interface WriteRequestOrBuilder
public Update getUpdates(int index)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
getUpdates
in interface WriteRequestOrBuilder
public WriteRequest.Builder setUpdates(int index, Update value)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder setUpdates(int index, Update.Builder builderForValue)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder addUpdates(Update value)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder addUpdates(int index, Update value)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder addUpdates(Update.Builder builderForValue)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder addUpdates(int index, Update.Builder builderForValue)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder addAllUpdates(Iterable<? extends Update> values)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder clearUpdates()
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public WriteRequest.Builder removeUpdates(int index)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public Update.Builder getUpdatesBuilder(int index)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public UpdateOrBuilder getUpdatesOrBuilder(int index)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
getUpdatesOrBuilder
in interface WriteRequestOrBuilder
public List<? extends UpdateOrBuilder> getUpdatesOrBuilderList()
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
getUpdatesOrBuilderList
in interface WriteRequestOrBuilder
public Update.Builder addUpdatesBuilder()
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public Update.Builder addUpdatesBuilder(int index)
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public List<Update.Builder> getUpdatesBuilderList()
The write batch, comprising a list of Update operations. The P4Runtime server may arbitrarily reorder messages within a batch to maximize performance.
repeated .p4.v1.Update updates = 4;
public int getAtomicityValue()
.p4.v1.WriteRequest.Atomicity atomicity = 5;
getAtomicityValue
in interface WriteRequestOrBuilder
public WriteRequest.Builder setAtomicityValue(int value)
.p4.v1.WriteRequest.Atomicity atomicity = 5;
public WriteRequest.Atomicity getAtomicity()
.p4.v1.WriteRequest.Atomicity atomicity = 5;
getAtomicity
in interface WriteRequestOrBuilder
public WriteRequest.Builder setAtomicity(WriteRequest.Atomicity value)
.p4.v1.WriteRequest.Atomicity atomicity = 5;
public WriteRequest.Builder clearAtomicity()
.p4.v1.WriteRequest.Atomicity atomicity = 5;
public final WriteRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>
public final WriteRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.