org.apache.hadoop.hdfs.server.namenode
Interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FsImageProto.INodeSection.XAttrCompactProto, FsImageProto.INodeSection.XAttrCompactProto.Builder
Enclosing class:
FsImageProto.INodeSection

public static interface FsImageProto.INodeSection.XAttrCompactProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 int getName()
          required fixed32 name = 1;
 com.google.protobuf.ByteString getValue()
          optional bytes value = 2;
 boolean hasName()
          required fixed32 name = 1;
 boolean hasValue()
          optional bytes value = 2;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasName

boolean hasName()
required fixed32 name = 1;

 
 [0:2) -- the namespace of XAttr (XAttrNamespaceProto)
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- namespace extension. Originally there were only 4 namespaces
 so only 2 bits were needed. At that time, this bit was reserved. When a
 5th namespace was created (raw) this bit became used as a 3rd namespace
 bit.
 [27:32) -- reserved for future uses.
 


getName

int getName()
required fixed32 name = 1;

 
 [0:2) -- the namespace of XAttr (XAttrNamespaceProto)
 [2:26) -- the name of the entry, which is an ID that points to a
 string in the StringTableSection.
 [26:27) -- namespace extension. Originally there were only 4 namespaces
 so only 2 bits were needed. At that time, this bit was reserved. When a
 5th namespace was created (raw) this bit became used as a 3rd namespace
 bit.
 [27:32) -- reserved for future uses.
 


hasValue

boolean hasValue()
optional bytes value = 2;


getValue

com.google.protobuf.ByteString getValue()
optional bytes value = 2;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.