org.apache.hadoop.hbase.protobuf.generated
Class SnapshotProtos.SnapshotRegionManifest.StoreFile.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<SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder
Enclosing class:
SnapshotProtos.SnapshotRegionManifest.StoreFile

public static final class SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder>
implements SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

Protobuf type SnapshotRegionManifest.StoreFile


Method Summary
 SnapshotProtos.SnapshotRegionManifest.StoreFile build()
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile buildPartial()
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clear()
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clearFileSize()
          optional uint64 file_size = 3;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clearName()
          required string name = 1;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clearReference()
          optional .Reference reference = 2;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clone()
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getFileSize()
          optional uint64 file_size = 3;
 String getName()
          required string name = 1;
 com.google.protobuf.ByteString getNameBytes()
          required string name = 1;
 FSProtos.Reference getReference()
          optional .Reference reference = 2;
 FSProtos.Reference.Builder getReferenceBuilder()
          optional .Reference reference = 2;
 FSProtos.ReferenceOrBuilder getReferenceOrBuilder()
          optional .Reference reference = 2;
 boolean hasFileSize()
          optional uint64 file_size = 3;
 boolean hasName()
          required string name = 1;
 boolean hasReference()
          optional .Reference reference = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder mergeFrom(com.google.protobuf.Message other)
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder mergeFrom(SnapshotProtos.SnapshotRegionManifest.StoreFile other)
           
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder mergeReference(FSProtos.Reference value)
          optional .Reference reference = 2;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setFileSize(long value)
          optional uint64 file_size = 3;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setName(String value)
          required string name = 1;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setNameBytes(com.google.protobuf.ByteString value)
          required string name = 1;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setReference(FSProtos.Reference.Builder builderForValue)
          optional .Reference reference = 2;
 SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setReference(FSProtos.Reference value)
          optional .Reference reference = 2;
 
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<SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder>

clear

public SnapshotProtos.SnapshotRegionManifest.StoreFile.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<SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder>

clone

public SnapshotProtos.SnapshotRegionManifest.StoreFile.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<SnapshotProtos.SnapshotRegionManifest.StoreFile.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<SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder>

getDefaultInstanceForType

public SnapshotProtos.SnapshotRegionManifest.StoreFile getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public SnapshotProtos.SnapshotRegionManifest.StoreFile build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public SnapshotProtos.SnapshotRegionManifest.StoreFile buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public SnapshotProtos.SnapshotRegionManifest.StoreFile.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<SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder>

mergeFrom

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder mergeFrom(SnapshotProtos.SnapshotRegionManifest.StoreFile other)

isInitialized

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

mergeFrom

public SnapshotProtos.SnapshotRegionManifest.StoreFile.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<SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder>
Throws:
IOException

hasName

public boolean hasName()
required string name = 1;

Specified by:
hasName in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

getName

public String getName()
required string name = 1;

Specified by:
getName in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

getNameBytes

public com.google.protobuf.ByteString getNameBytes()
required string name = 1;

Specified by:
getNameBytes in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

setName

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setName(String value)
required string name = 1;


clearName

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clearName()
required string name = 1;


setNameBytes

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;


hasReference

public boolean hasReference()
optional .Reference reference = 2;

Specified by:
hasReference in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

getReference

public FSProtos.Reference getReference()
optional .Reference reference = 2;

Specified by:
getReference in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

setReference

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setReference(FSProtos.Reference value)
optional .Reference reference = 2;


setReference

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setReference(FSProtos.Reference.Builder builderForValue)
optional .Reference reference = 2;


mergeReference

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder mergeReference(FSProtos.Reference value)
optional .Reference reference = 2;


clearReference

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clearReference()
optional .Reference reference = 2;


getReferenceBuilder

public FSProtos.Reference.Builder getReferenceBuilder()
optional .Reference reference = 2;


getReferenceOrBuilder

public FSProtos.ReferenceOrBuilder getReferenceOrBuilder()
optional .Reference reference = 2;

Specified by:
getReferenceOrBuilder in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

hasFileSize

public boolean hasFileSize()
optional uint64 file_size = 3;
 TODO: Add checksums or other fields to verify the file
 

Specified by:
hasFileSize in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

getFileSize

public long getFileSize()
optional uint64 file_size = 3;
 TODO: Add checksums or other fields to verify the file
 

Specified by:
getFileSize in interface SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder

setFileSize

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder setFileSize(long value)
optional uint64 file_size = 3;
 TODO: Add checksums or other fields to verify the file
 


clearFileSize

public SnapshotProtos.SnapshotRegionManifest.StoreFile.Builder clearFileSize()
optional uint64 file_size = 3;
 TODO: Add checksums or other fields to verify the file
 



Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.