public static final class HdfsProtos.StorageInfoProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.StorageInfoProto.Builder> implements HdfsProtos.StorageInfoProtoOrBuilder
hadoop.hdfs.StorageInfoProto
Common node information shared by all the nodes in the cluster
Modifier and Type | Method and Description |
---|---|
HdfsProtos.StorageInfoProto |
build() |
HdfsProtos.StorageInfoProto |
buildPartial() |
HdfsProtos.StorageInfoProto.Builder |
clear() |
HdfsProtos.StorageInfoProto.Builder |
clearClusterID()
required string clusterID = 3; |
HdfsProtos.StorageInfoProto.Builder |
clearCTime()
required uint64 cTime = 4; |
HdfsProtos.StorageInfoProto.Builder |
clearLayoutVersion()
required uint32 layoutVersion = 1; |
HdfsProtos.StorageInfoProto.Builder |
clearNamespceID()
required uint32 namespceID = 2; |
HdfsProtos.StorageInfoProto.Builder |
clone() |
String |
getClusterID()
required string clusterID = 3; |
com.google.protobuf.ByteString |
getClusterIDBytes()
required string clusterID = 3; |
long |
getCTime()
required uint64 cTime = 4; |
HdfsProtos.StorageInfoProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLayoutVersion()
required uint32 layoutVersion = 1; |
int |
getNamespceID()
required uint32 namespceID = 2; |
boolean |
hasClusterID()
required string clusterID = 3; |
boolean |
hasCTime()
required uint64 cTime = 4; |
boolean |
hasLayoutVersion()
required uint32 layoutVersion = 1; |
boolean |
hasNamespceID()
required uint32 namespceID = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HdfsProtos.StorageInfoProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HdfsProtos.StorageInfoProto.Builder |
mergeFrom(HdfsProtos.StorageInfoProto other) |
HdfsProtos.StorageInfoProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
HdfsProtos.StorageInfoProto.Builder |
setClusterID(String value)
required string clusterID = 3; |
HdfsProtos.StorageInfoProto.Builder |
setClusterIDBytes(com.google.protobuf.ByteString value)
required string clusterID = 3; |
HdfsProtos.StorageInfoProto.Builder |
setCTime(long value)
required uint64 cTime = 4; |
HdfsProtos.StorageInfoProto.Builder |
setLayoutVersion(int value)
required uint32 layoutVersion = 1; |
HdfsProtos.StorageInfoProto.Builder |
setNamespceID(int value)
required uint32 namespceID = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.StorageInfoProto.Builder>
public HdfsProtos.StorageInfoProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.StorageInfoProto.Builder>
public HdfsProtos.StorageInfoProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.StorageInfoProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.StorageInfoProto.Builder>
public HdfsProtos.StorageInfoProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HdfsProtos.StorageInfoProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.StorageInfoProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.StorageInfoProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.StorageInfoProto.Builder>
public HdfsProtos.StorageInfoProto.Builder mergeFrom(HdfsProtos.StorageInfoProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.StorageInfoProto.Builder>
public HdfsProtos.StorageInfoProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.StorageInfoProto.Builder>
IOException
public boolean hasLayoutVersion()
required uint32 layoutVersion = 1;
Layout version of the file system
hasLayoutVersion
in interface HdfsProtos.StorageInfoProtoOrBuilder
public int getLayoutVersion()
required uint32 layoutVersion = 1;
Layout version of the file system
getLayoutVersion
in interface HdfsProtos.StorageInfoProtoOrBuilder
public HdfsProtos.StorageInfoProto.Builder setLayoutVersion(int value)
required uint32 layoutVersion = 1;
Layout version of the file system
public HdfsProtos.StorageInfoProto.Builder clearLayoutVersion()
required uint32 layoutVersion = 1;
Layout version of the file system
public boolean hasNamespceID()
required uint32 namespceID = 2;
File system namespace ID
hasNamespceID
in interface HdfsProtos.StorageInfoProtoOrBuilder
public int getNamespceID()
required uint32 namespceID = 2;
File system namespace ID
getNamespceID
in interface HdfsProtos.StorageInfoProtoOrBuilder
public HdfsProtos.StorageInfoProto.Builder setNamespceID(int value)
required uint32 namespceID = 2;
File system namespace ID
public HdfsProtos.StorageInfoProto.Builder clearNamespceID()
required uint32 namespceID = 2;
File system namespace ID
public boolean hasClusterID()
required string clusterID = 3;
ID of the cluster
hasClusterID
in interface HdfsProtos.StorageInfoProtoOrBuilder
public String getClusterID()
required string clusterID = 3;
ID of the cluster
getClusterID
in interface HdfsProtos.StorageInfoProtoOrBuilder
public com.google.protobuf.ByteString getClusterIDBytes()
required string clusterID = 3;
ID of the cluster
getClusterIDBytes
in interface HdfsProtos.StorageInfoProtoOrBuilder
public HdfsProtos.StorageInfoProto.Builder setClusterID(String value)
required string clusterID = 3;
ID of the cluster
public HdfsProtos.StorageInfoProto.Builder clearClusterID()
required string clusterID = 3;
ID of the cluster
public HdfsProtos.StorageInfoProto.Builder setClusterIDBytes(com.google.protobuf.ByteString value)
required string clusterID = 3;
ID of the cluster
public boolean hasCTime()
required uint64 cTime = 4;
File system creation time
hasCTime
in interface HdfsProtos.StorageInfoProtoOrBuilder
public long getCTime()
required uint64 cTime = 4;
File system creation time
getCTime
in interface HdfsProtos.StorageInfoProtoOrBuilder
public HdfsProtos.StorageInfoProto.Builder setCTime(long value)
required uint64 cTime = 4;
File system creation time
public HdfsProtos.StorageInfoProto.Builder clearCTime()
required uint64 cTime = 4;
File system creation time
Copyright © 2013 Apache Software Foundation. All rights reserved.