当前位置: 首页>>代码示例>>Java>>正文


Java RegisterNodeManagerResponseProtoOrBuilder类代码示例

本文整理汇总了Java中org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder的典型用法代码示例。如果您正苦于以下问题:Java RegisterNodeManagerResponseProtoOrBuilder类的具体用法?Java RegisterNodeManagerResponseProtoOrBuilder怎么用?Java RegisterNodeManagerResponseProtoOrBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


RegisterNodeManagerResponseProtoOrBuilder类属于org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos包,在下文中一共展示了RegisterNodeManagerResponseProtoOrBuilder类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getContainerTokenMasterKey

import org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder; //导入依赖的package包/类
@Override
public MasterKey getContainerTokenMasterKey() {
  RegisterNodeManagerResponseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.containerTokenMasterKey != null) {
    return this.containerTokenMasterKey;
  }
  if (!p.hasContainerTokenMasterKey()) {
    return null;
  }
  this.containerTokenMasterKey =
      convertFromProtoFormat(p.getContainerTokenMasterKey());
  return this.containerTokenMasterKey;
}
 
开发者ID:naver,项目名称:hadoop,代码行数:14,代码来源:RegisterNodeManagerResponsePBImpl.java

示例2: getNMTokenMasterKey

import org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder; //导入依赖的package包/类
@Override
public MasterKey getNMTokenMasterKey() {
  RegisterNodeManagerResponseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.nmTokenMasterKey != null) {
    return this.nmTokenMasterKey;
  }
  if (!p.hasNmTokenMasterKey()) {
    return null;
  }
  this.nmTokenMasterKey =
      convertFromProtoFormat(p.getNmTokenMasterKey());
  return this.nmTokenMasterKey;
}
 
开发者ID:naver,项目名称:hadoop,代码行数:14,代码来源:RegisterNodeManagerResponsePBImpl.java

示例3: getDiagnosticsMessage

import org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder; //导入依赖的package包/类
@Override
public String getDiagnosticsMessage() {
  RegisterNodeManagerResponseProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsMessage()) {
    return null;
  }
  return p.getDiagnosticsMessage();
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:RegisterNodeManagerResponsePBImpl.java

示例4: getRMVersion

import org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder; //导入依赖的package包/类
@Override
public String getRMVersion() {
  RegisterNodeManagerResponseProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasRmVersion()) {
    return null;
  }
  return p.getRmVersion();
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:RegisterNodeManagerResponsePBImpl.java

示例5: getNodeAction

import org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder; //导入依赖的package包/类
@Override
public NodeAction getNodeAction() {
  RegisterNodeManagerResponseProtoOrBuilder p = viaProto ? proto : builder;
  if(!p.hasNodeAction()) {
    return null;
  }
  return convertFromProtoFormat(p.getNodeAction());
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:RegisterNodeManagerResponsePBImpl.java

示例6: getResource

import org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder; //导入依赖的package包/类
@Override
public Resource getResource() {
  RegisterNodeManagerResponseProtoOrBuilder p = viaProto ? proto : builder;
  if (this.resource != null) {
    return this.resource;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.resource = convertFromProtoFormat(p.getResource());
  return this.resource;
}
 
开发者ID:hopshadoop,项目名称:hops,代码行数:13,代码来源:RegisterNodeManagerResponsePBImpl.java


注:本文中的org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。