org.apache.hadoop.hdfs.qjournal.protocol
Class QJournalProtocolProtos.CanRollBackRequestProto.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>
              extended by org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder
Enclosing class:
QJournalProtocolProtos.CanRollBackRequestProto

public static final class QJournalProtocolProtos.CanRollBackRequestProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>
implements QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

Protobuf type hadoop.hdfs.CanRollBackRequestProto


 canRollBack()
 


Method Summary
 QJournalProtocolProtos.CanRollBackRequestProto build()
           
 QJournalProtocolProtos.CanRollBackRequestProto buildPartial()
           
 QJournalProtocolProtos.CanRollBackRequestProto.Builder clear()
           
 QJournalProtocolProtos.CanRollBackRequestProto.Builder clearJid()
          required .hadoop.hdfs.JournalIdProto jid = 1;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder clearPrevStorage()
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder clearStorage()
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder clearTargetLayoutVersion()
          required int32 targetLayoutVersion = 4;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder clone()
           
 QJournalProtocolProtos.CanRollBackRequestProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 QJournalProtocolProtos.JournalIdProto getJid()
          required .hadoop.hdfs.JournalIdProto jid = 1;
 QJournalProtocolProtos.JournalIdProto.Builder getJidBuilder()
          required .hadoop.hdfs.JournalIdProto jid = 1;
 QJournalProtocolProtos.JournalIdProtoOrBuilder getJidOrBuilder()
          required .hadoop.hdfs.JournalIdProto jid = 1;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto getPrevStorage()
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder getPrevStorageBuilder()
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProtoOrBuilder getPrevStorageOrBuilder()
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto getStorage()
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder getStorageBuilder()
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProtoOrBuilder getStorageOrBuilder()
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 int getTargetLayoutVersion()
          required int32 targetLayoutVersion = 4;
 boolean hasJid()
          required .hadoop.hdfs.JournalIdProto jid = 1;
 boolean hasPrevStorage()
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 boolean hasStorage()
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 boolean hasTargetLayoutVersion()
          required int32 targetLayoutVersion = 4;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeFrom(QJournalProtocolProtos.CanRollBackRequestProto other)
           
 QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeJid(QJournalProtocolProtos.JournalIdProto value)
          required .hadoop.hdfs.JournalIdProto jid = 1;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder mergePrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto.Builder builderForValue)
          required .hadoop.hdfs.JournalIdProto jid = 1;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto value)
          required .hadoop.hdfs.JournalIdProto jid = 1;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder builderForValue)
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
          required .hadoop.hdfs.StorageInfoProto prevStorage = 3;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder builderForValue)
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
          required .hadoop.hdfs.StorageInfoProto storage = 2;
 QJournalProtocolProtos.CanRollBackRequestProto.Builder setTargetLayoutVersion(int value)
          required int32 targetLayoutVersion = 4;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>

clear

public QJournalProtocolProtos.CanRollBackRequestProto.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>

clone

public QJournalProtocolProtos.CanRollBackRequestProto.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>

getDefaultInstanceForType

public QJournalProtocolProtos.CanRollBackRequestProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public QJournalProtocolProtos.CanRollBackRequestProto build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public QJournalProtocolProtos.CanRollBackRequestProto buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>

mergeFrom

public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeFrom(QJournalProtocolProtos.CanRollBackRequestProto other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>

mergeFrom

public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.CanRollBackRequestProto.Builder>
Throws:
IOException

hasJid

public boolean hasJid()
required .hadoop.hdfs.JournalIdProto jid = 1;

Specified by:
hasJid in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

getJid

public QJournalProtocolProtos.JournalIdProto getJid()
required .hadoop.hdfs.JournalIdProto jid = 1;

Specified by:
getJid in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

setJid

public QJournalProtocolProtos.CanRollBackRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.JournalIdProto jid = 1;


setJid

public QJournalProtocolProtos.CanRollBackRequestProto.Builder setJid(QJournalProtocolProtos.JournalIdProto.Builder builderForValue)
required .hadoop.hdfs.JournalIdProto jid = 1;


mergeJid

public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeJid(QJournalProtocolProtos.JournalIdProto value)
required .hadoop.hdfs.JournalIdProto jid = 1;


clearJid

public QJournalProtocolProtos.CanRollBackRequestProto.Builder clearJid()
required .hadoop.hdfs.JournalIdProto jid = 1;


getJidBuilder

public QJournalProtocolProtos.JournalIdProto.Builder getJidBuilder()
required .hadoop.hdfs.JournalIdProto jid = 1;


getJidOrBuilder

public QJournalProtocolProtos.JournalIdProtoOrBuilder getJidOrBuilder()
required .hadoop.hdfs.JournalIdProto jid = 1;

Specified by:
getJidOrBuilder in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

hasStorage

public boolean hasStorage()
required .hadoop.hdfs.StorageInfoProto storage = 2;

Specified by:
hasStorage in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

getStorage

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto getStorage()
required .hadoop.hdfs.StorageInfoProto storage = 2;

Specified by:
getStorage in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

setStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
required .hadoop.hdfs.StorageInfoProto storage = 2;


setStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder setStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder builderForValue)
required .hadoop.hdfs.StorageInfoProto storage = 2;


mergeStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergeStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
required .hadoop.hdfs.StorageInfoProto storage = 2;


clearStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder clearStorage()
required .hadoop.hdfs.StorageInfoProto storage = 2;


getStorageBuilder

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder getStorageBuilder()
required .hadoop.hdfs.StorageInfoProto storage = 2;


getStorageOrBuilder

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProtoOrBuilder getStorageOrBuilder()
required .hadoop.hdfs.StorageInfoProto storage = 2;

Specified by:
getStorageOrBuilder in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

hasPrevStorage

public boolean hasPrevStorage()
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;

Specified by:
hasPrevStorage in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

getPrevStorage

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto getPrevStorage()
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;

Specified by:
getPrevStorage in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

setPrevStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;


setPrevStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder setPrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder builderForValue)
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;


mergePrevStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder mergePrevStorage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto value)
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;


clearPrevStorage

public QJournalProtocolProtos.CanRollBackRequestProto.Builder clearPrevStorage()
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;


getPrevStorageBuilder

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProto.Builder getPrevStorageBuilder()
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;


getPrevStorageOrBuilder

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageInfoProtoOrBuilder getPrevStorageOrBuilder()
required .hadoop.hdfs.StorageInfoProto prevStorage = 3;

Specified by:
getPrevStorageOrBuilder in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

hasTargetLayoutVersion

public boolean hasTargetLayoutVersion()
required int32 targetLayoutVersion = 4;

Specified by:
hasTargetLayoutVersion in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

getTargetLayoutVersion

public int getTargetLayoutVersion()
required int32 targetLayoutVersion = 4;

Specified by:
getTargetLayoutVersion in interface QJournalProtocolProtos.CanRollBackRequestProtoOrBuilder

setTargetLayoutVersion

public QJournalProtocolProtos.CanRollBackRequestProto.Builder setTargetLayoutVersion(int value)
required int32 targetLayoutVersion = 4;


clearTargetLayoutVersion

public QJournalProtocolProtos.CanRollBackRequestProto.Builder clearTargetLayoutVersion()
required int32 targetLayoutVersion = 4;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.