Package com.exonum.messages.common
Class BitVecOuterClass.BitVec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
com.exonum.messages.common.BitVecOuterClass.BitVec.Builder
- All Implemented Interfaces:
BitVecOuterClass.BitVecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BitVecOuterClass.BitVec
public static final class BitVecOuterClass.BitVec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder> implements BitVecOuterClass.BitVecOrBuilder
Vector of bits.Protobuf type
exonum.common.BitVec-
Method Summary
Modifier and Type Method Description BitVecOuterClass.BitVec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BitVecOuterClass.BitVecbuild()BitVecOuterClass.BitVecbuildPartial()BitVecOuterClass.BitVec.Builderclear()BitVecOuterClass.BitVec.BuilderclearData()Buffer containing the bits.BitVecOuterClass.BitVec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BitVecOuterClass.BitVec.BuilderclearLen()Number of bits.BitVecOuterClass.BitVec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BitVecOuterClass.BitVec.Builderclone()com.google.protobuf.ByteStringgetData()Buffer containing the bits.BitVecOuterClass.BitVecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetLen()Number of bits.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BitVecOuterClass.BitVec.BuildermergeFrom(BitVecOuterClass.BitVec other)BitVecOuterClass.BitVec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BitVecOuterClass.BitVec.BuildermergeFrom(com.google.protobuf.Message other)BitVecOuterClass.BitVec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BitVecOuterClass.BitVec.BuildersetData(com.google.protobuf.ByteString value)Buffer containing the bits.BitVecOuterClass.BitVec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BitVecOuterClass.BitVec.BuildersetLen(long value)Number of bits.BitVecOuterClass.BitVec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BitVecOuterClass.BitVec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.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.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
setField
public BitVecOuterClass.BitVec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
clearField
public BitVecOuterClass.BitVec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
clearOneof
public BitVecOuterClass.BitVec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
setRepeatedField
public BitVecOuterClass.BitVec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
addRepeatedField
public BitVecOuterClass.BitVec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BitVecOuterClass.BitVec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
mergeFrom
public BitVecOuterClass.BitVec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BitVecOuterClass.BitVec.Builder>- Throws:
java.io.IOException
-
getData
public com.google.protobuf.ByteString getData()Buffer containing the bits. Most significant bits of each byte have lower indexes in the vector.
bytes data = 1;- Specified by:
getDatain interfaceBitVecOuterClass.BitVecOrBuilder- Returns:
- The data.
-
setData
Buffer containing the bits. Most significant bits of each byte have lower indexes in the vector.
bytes data = 1;- Parameters:
value- The data to set.- Returns:
- This builder for chaining.
-
clearData
Buffer containing the bits. Most significant bits of each byte have lower indexes in the vector.
bytes data = 1;- Returns:
- This builder for chaining.
-
getLen
public long getLen()Number of bits.
uint64 len = 2;- Specified by:
getLenin interfaceBitVecOuterClass.BitVecOrBuilder- Returns:
- The len.
-
setLen
Number of bits.
uint64 len = 2;- Parameters:
value- The len to set.- Returns:
- This builder for chaining.
-
clearLen
Number of bits.
uint64 len = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final BitVecOuterClass.BitVec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-
mergeUnknownFields
public final BitVecOuterClass.BitVec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BitVecOuterClass.BitVec.Builder>
-