Package p4.v1
Class P4RuntimeOuterClass.DigestList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
p4.v1.P4RuntimeOuterClass.DigestList.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4RuntimeOuterClass.DigestListOrBuilder
- Enclosing class:
P4RuntimeOuterClass.DigestList
public static final class P4RuntimeOuterClass.DigestList.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
implements P4RuntimeOuterClass.DigestListOrBuilder
Protobuf type
p4.v1.DigestList-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(Iterable<? extends P4DataOuterClass.P4Data> values) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.addData(int index, P4DataOuterClass.P4Data value) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.addData(int index, P4DataOuterClass.P4Data.Builder builderForValue) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.addData(P4DataOuterClass.P4Data value) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.addData(P4DataOuterClass.P4Data.Builder builderForValue) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.addDataBuilder(int index) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.build()clear()List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.identifies the digest extern instanceidentifies a list of entries, used by receiver to ackTimestamp at which the server generated the message (in nanoseconds since Epoch)getData(int index) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.getDataBuilder(int index) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.intList of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.getDataOrBuilder(int index) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.List<? extends P4DataOuterClass.P4DataOrBuilder> List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintidentifies the digest extern instancelongidentifies a list of entries, used by receiver to acklongTimestamp at which the server generated the message (in nanoseconds since Epoch)protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeData(int index) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.setData(int index, P4DataOuterClass.P4Data value) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.setData(int index, P4DataOuterClass.P4Data.Builder builderForValue) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.setDigestId(int value) identifies the digest extern instancesetListId(long value) identifies a list of entries, used by receiver to acksetTimestamp(long value) Timestamp at which the server generated the message (in nanoseconds since Epoch)Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>
-
mergeFrom
public P4RuntimeOuterClass.DigestList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4RuntimeOuterClass.DigestList.Builder>- Throws:
IOException
-
getDigestId
public int getDigestId()identifies the digest extern instance
uint32 digest_id = 1;- Specified by:
getDigestIdin interfaceP4RuntimeOuterClass.DigestListOrBuilder- Returns:
- The digestId.
-
setDigestId
identifies the digest extern instance
uint32 digest_id = 1;- Parameters:
value- The digestId to set.- Returns:
- This builder for chaining.
-
clearDigestId
identifies the digest extern instance
uint32 digest_id = 1;- Returns:
- This builder for chaining.
-
getListId
public long getListId()identifies a list of entries, used by receiver to ack
uint64 list_id = 2;- Specified by:
getListIdin interfaceP4RuntimeOuterClass.DigestListOrBuilder- Returns:
- The listId.
-
setListId
identifies a list of entries, used by receiver to ack
uint64 list_id = 2;- Parameters:
value- The listId to set.- Returns:
- This builder for chaining.
-
clearListId
identifies a list of entries, used by receiver to ack
uint64 list_id = 2;- Returns:
- This builder for chaining.
-
getDataList
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3;- Specified by:
getDataListin interfaceP4RuntimeOuterClass.DigestListOrBuilder
-
getDataCount
public int getDataCount()List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3;- Specified by:
getDataCountin interfaceP4RuntimeOuterClass.DigestListOrBuilder
-
getData
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3;- Specified by:
getDatain interfaceP4RuntimeOuterClass.DigestListOrBuilder
-
setData
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
setData
public P4RuntimeOuterClass.DigestList.Builder setData(int index, P4DataOuterClass.P4Data.Builder builderForValue) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
addData
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
addData
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
addData
public P4RuntimeOuterClass.DigestList.Builder addData(P4DataOuterClass.P4Data.Builder builderForValue) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
addData
public P4RuntimeOuterClass.DigestList.Builder addData(int index, P4DataOuterClass.P4Data.Builder builderForValue) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
addAllData
public P4RuntimeOuterClass.DigestList.Builder addAllData(Iterable<? extends P4DataOuterClass.P4Data> values) List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
clearData
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
removeData
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
getDataBuilder
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
getDataOrBuilder
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3;- Specified by:
getDataOrBuilderin interfaceP4RuntimeOuterClass.DigestListOrBuilder
-
getDataOrBuilderList
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3;- Specified by:
getDataOrBuilderListin interfaceP4RuntimeOuterClass.DigestListOrBuilder
-
addDataBuilder
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
addDataBuilder
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
getDataBuilderList
List of entries: each call to the Digest<T>::pack() method corresponds to one entry and we can have as little as one entry.
repeated .p4.v1.P4Data data = 3; -
getTimestamp
public long getTimestamp()Timestamp at which the server generated the message (in nanoseconds since Epoch)
int64 timestamp = 4;- Specified by:
getTimestampin interfaceP4RuntimeOuterClass.DigestListOrBuilder- Returns:
- The timestamp.
-
setTimestamp
Timestamp at which the server generated the message (in nanoseconds since Epoch)
int64 timestamp = 4;- Parameters:
value- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
Timestamp at which the server generated the message (in nanoseconds since Epoch)
int64 timestamp = 4;- Returns:
- This builder for chaining.
-