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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>public WriteRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WriteRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WriteRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WriteRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WriteRequest.Builder>IOExceptionpublic long getDeviceId()
uint64 device_id = 1;getDeviceId in interface WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic Uint128 getElectionId()
.p4.v1.Uint128 election_id = 3;getElectionId in interface WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic 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 WriteRequestOrBuilderpublic WriteRequest.Builder setAtomicityValue(int value)
.p4.v1.WriteRequest.Atomicity atomicity = 5;public WriteRequest.Atomicity getAtomicity()
.p4.v1.WriteRequest.Atomicity atomicity = 5;getAtomicity in interface WriteRequestOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder>Copyright © 2018 OpenDaylight. All rights reserved.