Class QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.Builder
org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<BuilderT>
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder
- All Implemented Interfaces:
Cloneable,QJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message.Builder,org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- QJournalProtocolProtos.GetEditLogManifestResponseProto
public static final class QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
implements QJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder
Protobuf type
hadoop.hdfs.qjournal.GetEditLogManifestResponseProto-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) optional string fromURL = 3;Deprecated by fromURLrequired .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) clone()static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptoroptional string fromURL = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string fromURL = 3;intDeprecated by fromURLorg.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProtorequired .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto.Builderrequired .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProtoOrBuilderrequired .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;booleanoptional string fromURL = 3;booleanDeprecated by fromURLbooleanrequired .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) mergeManifest(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto value) required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) setFromURL(String value) optional string fromURL = 3;setFromURLBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string fromURL = 3;setHttpPort(int value) Deprecated by fromURLsetManifest(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto value) required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;setManifest(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto.Builder builderForValue) required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) Methods inherited from class org.apache.hadoop.thirdparty.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, setUnknownFieldsProto3Methods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class org.apache.hadoop.thirdparty.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 org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
clear
- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clearin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
getDescriptorForType
public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clonein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
setField
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
clearField
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
clearOneof
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearOneofin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
setRepeatedField
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
addRepeatedField
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
mergeFrom
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>- Throws:
IOException
-
hasManifest
public boolean hasManifest()required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;- Specified by:
hasManifestin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder- Returns:
- Whether the manifest field is set.
-
getManifest
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto getManifest()required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;- Specified by:
getManifestin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder- Returns:
- The manifest.
-
setManifest
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder setManifest(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto value) required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1; -
setManifest
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder setManifest(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto.Builder builderForValue) required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1; -
mergeManifest
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder mergeManifest(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto value) required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1; -
clearManifest
required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1; -
getManifestBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProto.Builder getManifestBuilder()required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1; -
getManifestOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogManifestProtoOrBuilder getManifestOrBuilder()required .hadoop.hdfs.RemoteEditLogManifestProto manifest = 1;- Specified by:
getManifestOrBuilderin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder
-
hasHttpPort
public boolean hasHttpPort()Deprecated by fromURL
required uint32 httpPort = 2;- Specified by:
hasHttpPortin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder- Returns:
- Whether the httpPort field is set.
-
getHttpPort
public int getHttpPort()Deprecated by fromURL
required uint32 httpPort = 2;- Specified by:
getHttpPortin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder- Returns:
- The httpPort.
-
setHttpPort
Deprecated by fromURL
required uint32 httpPort = 2;- Parameters:
value- The httpPort to set.- Returns:
- This builder for chaining.
-
clearHttpPort
Deprecated by fromURL
required uint32 httpPort = 2;- Returns:
- This builder for chaining.
-
hasFromURL
public boolean hasFromURL()optional string fromURL = 3;- Specified by:
hasFromURLin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder- Returns:
- Whether the fromURL field is set.
-
getFromURL
optional string fromURL = 3;- Specified by:
getFromURLin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder- Returns:
- The fromURL.
-
getFromURLBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getFromURLBytes()optional string fromURL = 3;- Specified by:
getFromURLBytesin interfaceQJournalProtocolProtos.GetEditLogManifestResponseProtoOrBuilder- Returns:
- The bytes for fromURL.
-
setFromURL
optional string fromURL = 3;- Parameters:
value- The fromURL to set.- Returns:
- This builder for chaining.
-
clearFromURL
optional string fromURL = 3;- Returns:
- This builder for chaining.
-
setFromURLBytes
public QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder setFromURLBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value) optional string fromURL = 3;- Parameters:
value- The bytes for fromURL to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-
mergeUnknownFields
public final QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.GetEditLogManifestResponseProto.Builder>
-