Package org.apache.bookkeeper.proto
Class DataFormats.AuditorVoteFormat.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
- org.apache.bookkeeper.proto.DataFormats.AuditorVoteFormat.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,DataFormats.AuditorVoteFormatOrBuilder
- Enclosing class:
- DataFormats.AuditorVoteFormat
public static final class DataFormats.AuditorVoteFormat.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder> implements DataFormats.AuditorVoteFormatOrBuilder
Debug information for auditor votes
Protobuf typeAuditorVoteFormat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFormats.AuditorVoteFormat.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DataFormats.AuditorVoteFormat
build()
DataFormats.AuditorVoteFormat
buildPartial()
DataFormats.AuditorVoteFormat.Builder
clear()
DataFormats.AuditorVoteFormat.Builder
clearBookieId()
optional string bookieId = 1;
DataFormats.AuditorVoteFormat.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataFormats.AuditorVoteFormat.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataFormats.AuditorVoteFormat.Builder
clone()
java.lang.String
getBookieId()
optional string bookieId = 1;
com.google.protobuf.ByteString
getBookieIdBytes()
optional string bookieId = 1;
DataFormats.AuditorVoteFormat
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
hasBookieId()
optional string bookieId = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DataFormats.AuditorVoteFormat.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataFormats.AuditorVoteFormat.Builder
mergeFrom(com.google.protobuf.Message other)
DataFormats.AuditorVoteFormat.Builder
mergeFrom(DataFormats.AuditorVoteFormat other)
DataFormats.AuditorVoteFormat.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataFormats.AuditorVoteFormat.Builder
setBookieId(java.lang.String value)
optional string bookieId = 1;
DataFormats.AuditorVoteFormat.Builder
setBookieIdBytes(com.google.protobuf.ByteString value)
optional string bookieId = 1;
DataFormats.AuditorVoteFormat.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DataFormats.AuditorVoteFormat.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DataFormats.AuditorVoteFormat.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
clear
public DataFormats.AuditorVoteFormat.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
getDefaultInstanceForType
public DataFormats.AuditorVoteFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataFormats.AuditorVoteFormat build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataFormats.AuditorVoteFormat buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataFormats.AuditorVoteFormat.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
setField
public DataFormats.AuditorVoteFormat.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
clearField
public DataFormats.AuditorVoteFormat.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
clearOneof
public DataFormats.AuditorVoteFormat.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
setRepeatedField
public DataFormats.AuditorVoteFormat.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
addRepeatedField
public DataFormats.AuditorVoteFormat.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
mergeFrom
public DataFormats.AuditorVoteFormat.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataFormats.AuditorVoteFormat.Builder>
-
mergeFrom
public DataFormats.AuditorVoteFormat.Builder mergeFrom(DataFormats.AuditorVoteFormat other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
mergeFrom
public DataFormats.AuditorVoteFormat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataFormats.AuditorVoteFormat.Builder>
- Throws:
java.io.IOException
-
hasBookieId
public boolean hasBookieId()
optional string bookieId = 1;
- Specified by:
hasBookieId
in interfaceDataFormats.AuditorVoteFormatOrBuilder
- Returns:
- Whether the bookieId field is set.
-
getBookieId
public java.lang.String getBookieId()
optional string bookieId = 1;
- Specified by:
getBookieId
in interfaceDataFormats.AuditorVoteFormatOrBuilder
- Returns:
- The bookieId.
-
getBookieIdBytes
public com.google.protobuf.ByteString getBookieIdBytes()
optional string bookieId = 1;
- Specified by:
getBookieIdBytes
in interfaceDataFormats.AuditorVoteFormatOrBuilder
- Returns:
- The bytes for bookieId.
-
setBookieId
public DataFormats.AuditorVoteFormat.Builder setBookieId(java.lang.String value)
optional string bookieId = 1;
- Parameters:
value
- The bookieId to set.- Returns:
- This builder for chaining.
-
clearBookieId
public DataFormats.AuditorVoteFormat.Builder clearBookieId()
optional string bookieId = 1;
- Returns:
- This builder for chaining.
-
setBookieIdBytes
public DataFormats.AuditorVoteFormat.Builder setBookieIdBytes(com.google.protobuf.ByteString value)
optional string bookieId = 1;
- Parameters:
value
- The bytes for bookieId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DataFormats.AuditorVoteFormat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
mergeUnknownFields
public final DataFormats.AuditorVoteFormat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.AuditorVoteFormat.Builder>
-
-