PBRecordpublic class EnableNameserviceRequestPBImpl extends EnableNameserviceRequest implements PBRecord
| Constructor | Description |
|---|---|
EnableNameserviceRequestPBImpl() |
|
EnableNameserviceRequestPBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnableNameserviceRequestProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getNameServiceId() |
|
org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnableNameserviceRequestProto |
getProto() |
Get the protocol for the record.
|
void |
readInstance(java.lang.String base64String) |
Populate this record with serialized data.
|
void |
setNameServiceId(java.lang.String nsId) |
|
void |
setProto(org.apache.hadoop.thirdparty.protobuf.Message proto) |
Set the protocol for the record.
|
newInstance, newInstancepublic EnableNameserviceRequestPBImpl()
public EnableNameserviceRequestPBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnableNameserviceRequestProto proto)
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnableNameserviceRequestProto getProto()
PBRecordpublic void setProto(org.apache.hadoop.thirdparty.protobuf.Message proto)
PBRecordpublic void readInstance(java.lang.String base64String)
throws java.io.IOException
PBRecordreadInstance in interface PBRecordbase64String - Serialized data in base64.java.io.IOException - If it cannot read the data.public java.lang.String getNameServiceId()
getNameServiceId in class EnableNameserviceRequestpublic void setNameServiceId(java.lang.String nsId)
setNameServiceId in class EnableNameserviceRequestCopyright © 2008–2025 Apache Software Foundation. All rights reserved.