public static final class WriteRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WriteRequest.Builder> implements WriteRequestOrBuilder
------------------------------------------------------------------------------Protobuf type
p4.WriteRequest
Modifier and Type | Method and Description |
---|---|
WriteRequest.Builder |
addAllUpdates(Iterable<? extends Update> values)
repeated .p4.Update updates = 3; |
WriteRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteRequest.Builder |
addUpdates(int index,
Update.Builder builderForValue)
repeated .p4.Update updates = 3; |
WriteRequest.Builder |
addUpdates(int index,
Update value)
repeated .p4.Update updates = 3; |
WriteRequest.Builder |
addUpdates(Update.Builder builderForValue)
repeated .p4.Update updates = 3; |
WriteRequest.Builder |
addUpdates(Update value)
repeated .p4.Update updates = 3; |
Update.Builder |
addUpdatesBuilder()
repeated .p4.Update updates = 3; |
Update.Builder |
addUpdatesBuilder(int index)
repeated .p4.Update updates = 3; |
WriteRequest |
build() |
WriteRequest |
buildPartial() |
WriteRequest.Builder |
clear() |
WriteRequest.Builder |
clearDeviceId()
uint64 device_id = 1; |
WriteRequest.Builder |
clearElectionId()
.p4.Uint128 election_id = 2; |
WriteRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WriteRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WriteRequest.Builder |
clearUpdates()
repeated .p4.Update updates = 3; |
WriteRequest.Builder |
clone() |
WriteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getDeviceId()
uint64 device_id = 1; |
Uint128 |
getElectionId()
.p4.Uint128 election_id = 2; |
Uint128.Builder |
getElectionIdBuilder()
.p4.Uint128 election_id = 2; |
Uint128OrBuilder |
getElectionIdOrBuilder()
.p4.Uint128 election_id = 2; |
Update |
getUpdates(int index)
repeated .p4.Update updates = 3; |
Update.Builder |
getUpdatesBuilder(int index)
repeated .p4.Update updates = 3; |
List<Update.Builder> |
getUpdatesBuilderList()
repeated .p4.Update updates = 3; |
int |
getUpdatesCount()
repeated .p4.Update updates = 3; |
List<Update> |
getUpdatesList()
repeated .p4.Update updates = 3; |
UpdateOrBuilder |
getUpdatesOrBuilder(int index)
repeated .p4.Update updates = 3; |
List<? extends UpdateOrBuilder> |
getUpdatesOrBuilderList()
repeated .p4.Update updates = 3; |
boolean |
hasElectionId()
.p4.Uint128 election_id = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WriteRequest.Builder |
mergeElectionId(Uint128 value)
.p4.Uint128 election_id = 2; |
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)
repeated .p4.Update updates = 3; |
WriteRequest.Builder |
setDeviceId(long value)
uint64 device_id = 1; |
WriteRequest.Builder |
setElectionId(Uint128.Builder builderForValue)
.p4.Uint128 election_id = 2; |
WriteRequest.Builder |
setElectionId(Uint128 value)
.p4.Uint128 election_id = 2; |
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 |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteRequest.Builder |
setUpdates(int index,
Update.Builder builderForValue)
repeated .p4.Update updates = 3; |
WriteRequest.Builder |
setUpdates(int index,
Update value)
repeated .p4.Update updates = 3; |
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 boolean hasElectionId()
.p4.Uint128 election_id = 2;
hasElectionId
in interface WriteRequestOrBuilder
public Uint128 getElectionId()
.p4.Uint128 election_id = 2;
getElectionId
in interface WriteRequestOrBuilder
public WriteRequest.Builder setElectionId(Uint128 value)
.p4.Uint128 election_id = 2;
public WriteRequest.Builder setElectionId(Uint128.Builder builderForValue)
.p4.Uint128 election_id = 2;
public WriteRequest.Builder mergeElectionId(Uint128 value)
.p4.Uint128 election_id = 2;
public WriteRequest.Builder clearElectionId()
.p4.Uint128 election_id = 2;
public Uint128.Builder getElectionIdBuilder()
.p4.Uint128 election_id = 2;
public Uint128OrBuilder getElectionIdOrBuilder()
.p4.Uint128 election_id = 2;
getElectionIdOrBuilder
in interface WriteRequestOrBuilder
public List<Update> getUpdatesList()
repeated .p4.Update updates = 3;
getUpdatesList
in interface WriteRequestOrBuilder
public int getUpdatesCount()
repeated .p4.Update updates = 3;
getUpdatesCount
in interface WriteRequestOrBuilder
public Update getUpdates(int index)
repeated .p4.Update updates = 3;
getUpdates
in interface WriteRequestOrBuilder
public WriteRequest.Builder setUpdates(int index, Update value)
repeated .p4.Update updates = 3;
public WriteRequest.Builder setUpdates(int index, Update.Builder builderForValue)
repeated .p4.Update updates = 3;
public WriteRequest.Builder addUpdates(Update value)
repeated .p4.Update updates = 3;
public WriteRequest.Builder addUpdates(int index, Update value)
repeated .p4.Update updates = 3;
public WriteRequest.Builder addUpdates(Update.Builder builderForValue)
repeated .p4.Update updates = 3;
public WriteRequest.Builder addUpdates(int index, Update.Builder builderForValue)
repeated .p4.Update updates = 3;
public WriteRequest.Builder addAllUpdates(Iterable<? extends Update> values)
repeated .p4.Update updates = 3;
public WriteRequest.Builder clearUpdates()
repeated .p4.Update updates = 3;
public WriteRequest.Builder removeUpdates(int index)
repeated .p4.Update updates = 3;
public Update.Builder getUpdatesBuilder(int index)
repeated .p4.Update updates = 3;
public UpdateOrBuilder getUpdatesOrBuilder(int index)
repeated .p4.Update updates = 3;
getUpdatesOrBuilder
in interface WriteRequestOrBuilder
public List<? extends UpdateOrBuilder> getUpdatesOrBuilderList()
repeated .p4.Update updates = 3;
getUpdatesOrBuilderList
in interface WriteRequestOrBuilder
public Update.Builder addUpdatesBuilder()
repeated .p4.Update updates = 3;
public Update.Builder addUpdatesBuilder(int index)
repeated .p4.Update updates = 3;
public List<Update.Builder> getUpdatesBuilderList()
repeated .p4.Update updates = 3;
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.