Package org.apache.bookkeeper.proto
Class DataFormats.LedgerRereplicationLayoutFormat.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataFormats.LedgerRereplicationLayoutFormat.Builder>
-
- org.apache.bookkeeper.proto.DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormatOrBuilder
- Enclosing class:
- DataFormats.LedgerRereplicationLayoutFormat
public static final class DataFormats.LedgerRereplicationLayoutFormat.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataFormats.LedgerRereplicationLayoutFormat.Builder> implements DataFormats.LedgerRereplicationLayoutFormatOrBuilder
Protobuf typeLedgerRereplicationLayoutFormat
-
-
Method Summary
-
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.LedgerRereplicationLayoutFormat.Builder>
-
clear
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
getDefaultInstanceForType
public DataFormats.LedgerRereplicationLayoutFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataFormats.LedgerRereplicationLayoutFormat build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataFormats.LedgerRereplicationLayoutFormat buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
setField
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
clearField
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
clearOneof
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
setRepeatedField
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
addRepeatedField
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
mergeFrom
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
mergeFrom
public DataFormats.LedgerRereplicationLayoutFormat.Builder mergeFrom(DataFormats.LedgerRereplicationLayoutFormat other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.LedgerRereplicationLayoutFormat.Builder>
-
mergeFrom
public DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
- Throws:
java.io.IOException
-
hasType
public boolean hasType()
required string type = 1;
- Specified by:
hasType
in interfaceDataFormats.LedgerRereplicationLayoutFormatOrBuilder
- Returns:
- Whether the type field is set.
-
getType
public java.lang.String getType()
required string type = 1;
- Specified by:
getType
in interfaceDataFormats.LedgerRereplicationLayoutFormatOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
required string type = 1;
- Specified by:
getTypeBytes
in interfaceDataFormats.LedgerRereplicationLayoutFormatOrBuilder
- Returns:
- The bytes for type.
-
setType
public DataFormats.LedgerRereplicationLayoutFormat.Builder setType(java.lang.String value)
required string type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public DataFormats.LedgerRereplicationLayoutFormat.Builder clearType()
required string type = 1;
- Returns:
- This builder for chaining.
-
setTypeBytes
public DataFormats.LedgerRereplicationLayoutFormat.Builder setTypeBytes(com.google.protobuf.ByteString value)
required string type = 1;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()
required int32 version = 2;
- Specified by:
hasVersion
in interfaceDataFormats.LedgerRereplicationLayoutFormatOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
public int getVersion()
required int32 version = 2;
- Specified by:
getVersion
in interfaceDataFormats.LedgerRereplicationLayoutFormatOrBuilder
- Returns:
- The version.
-
setVersion
public DataFormats.LedgerRereplicationLayoutFormat.Builder setVersion(int value)
required int32 version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public DataFormats.LedgerRereplicationLayoutFormat.Builder clearVersion()
required int32 version = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
mergeUnknownFields
public final DataFormats.LedgerRereplicationLayoutFormat.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.LedgerRereplicationLayoutFormat.Builder>
-
-