PBRecordpublic class GetRouterRegistrationResponsePBImpl extends GetRouterRegistrationResponse implements PBRecord
| Constructor | Description |
|---|---|
GetRouterRegistrationResponsePBImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetRouterRegistrationResponseProto |
getProto() |
Get the protocol for the record.
|
RouterState |
getRouter() |
|
void |
readInstance(java.lang.String base64String) |
Populate this record with serialized data.
|
void |
setProto(org.apache.hadoop.thirdparty.protobuf.Message protocol) |
Set the protocol for the record.
|
void |
setRouter(RouterState router) |
newInstancepublic org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetRouterRegistrationResponseProto getProto()
PBRecordpublic void setProto(org.apache.hadoop.thirdparty.protobuf.Message protocol)
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 RouterState getRouter()
getRouter in class GetRouterRegistrationResponsepublic void setRouter(RouterState router)
setRouter in class GetRouterRegistrationResponseCopyright © 2008–2025 Apache Software Foundation. All rights reserved.