/** * <code>optional .hadoop.yarn.ContainerIdProto containerId = 1;</code> */ public org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder getContainerIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getContainerIdFieldBuilder().getBuilder(); } /**
/** * <code>optional .hadoop.yarn.LogAggregationContextProto logAggregationContext = 10;</code> */ public org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto.Builder getLogAggregationContextBuilder() { bitField0_ |= 0x00000200; onChanged(); return getLogAggregationContextFieldBuilder().getBuilder(); } /**
/** * <code>optional .hadoop.yarn.PriorityProto priority = 8;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder> getPriorityFieldBuilder() { if (priorityBuilder_ == null) { priorityBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder>( priority_, getParentForChildren(), isClean()); priority_ = null; } return priorityBuilder_; }
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto.getDefaultInstance()) return this; if (other.hasContainerId()) { mergeContainerId(other.getContainerId()); onChanged(); onChanged(); mergeResource(other.getResource()); setExpiryTimeStamp(other.getExpiryTimeStamp()); setMasterKeyId(other.getMasterKeyId()); setRmIdentifier(other.getRmIdentifier()); mergePriority(other.getPriority()); setCreationTime(other.getCreationTime()); mergeLogAggregationContext(other.getLogAggregationContext()); onChanged(); setVersion(other.getVersion()); onChanged(); this.mergeUnknownFields(other.getUnknownFields());
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto.getDefaultInstance()) return this; if (other.hasContainerId()) { mergeContainerId(other.getContainerId()); onChanged(); onChanged(); mergeResource(other.getResource()); setExpiryTimeStamp(other.getExpiryTimeStamp()); setMasterKeyId(other.getMasterKeyId()); setRmIdentifier(other.getRmIdentifier()); mergePriority(other.getPriority()); setCreationTime(other.getCreationTime()); mergeLogAggregationContext(other.getLogAggregationContext()); onChanged(); setVersion(other.getVersion()); this.mergeUnknownFields(other.getUnknownFields()); return this;
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto.getDefaultInstance()) return this; if (other.hasContainerId()) { mergeContainerId(other.getContainerId()); onChanged(); onChanged(); mergeResource(other.getResource()); setExpiryTimeStamp(other.getExpiryTimeStamp()); setMasterKeyId(other.getMasterKeyId()); setRmIdentifier(other.getRmIdentifier()); mergePriority(other.getPriority()); setCreationTime(other.getCreationTime()); mergeLogAggregationContext(other.getLogAggregationContext()); onChanged(); this.mergeUnknownFields(other.getUnknownFields()); return this;
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto other) { if (other == org.apache.hadoop.yarn.proto.YarnSecurityTestTokenProtos.ContainerTokenIdentifierForTestProto.getDefaultInstance()) return this; if (other.hasContainerId()) { mergeContainerId(other.getContainerId()); onChanged(); onChanged(); mergeResource(other.getResource()); setExpiryTimeStamp(other.getExpiryTimeStamp()); setMasterKeyId(other.getMasterKeyId()); setRmIdentifier(other.getRmIdentifier()); mergePriority(other.getPriority()); setCreationTime(other.getCreationTime()); mergeLogAggregationContext(other.getLogAggregationContext()); onChanged(); this.mergeUnknownFields(other.getUnknownFields()); return this;
(ContainerIdPBImpl)identifier.getContainerID(); if (containerID != null) { builder.setContainerId(containerID.getProto()); builder.setNmHostAddr(identifier.getNmHostAddress()); builder.setAppSubmitter(identifier.getApplicationSubmitter()); builder.setResource(ProtoUtils.convertToProtoFormat(resource)); builder.setExpiryTimeStamp(identifier.getExpiryTimeStamp()); builder.setMasterKeyId(identifier.getMasterKeyId()); builder.setRmIdentifier(identifier.getRMIdentifier()); builder.setPriority(priority.getProto()); builder.setCreationTime(identifier.getCreationTime()); builder.setMessage(message); builder.setLogAggregationContext(logAggregationContext.getProto()); proto = builder.build();
(ContainerIdPBImpl)identifier.getContainerID(); if (containerID != null) { builder.setContainerId(containerID.getProto()); builder.setNmHostAddr(identifier.getNmHostAddress()); builder.setAppSubmitter(identifier.getApplicationSubmitter()); builder.setResource(resource.getProto()); builder.setExpiryTimeStamp(identifier.getExpiryTimeStamp()); builder.setMasterKeyId(identifier.getMasterKeyId()); builder.setRmIdentifier(identifier.getRMIdentifier()); builder.setPriority(priority.getProto()); builder.setCreationTime(identifier.getCreationTime()); builder.setMessage(message); builder.setLogAggregationContext(logAggregationContext.getProto()); proto = builder.build();
public ContainerTokenIdentifierForTest(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext) { ContainerTokenIdentifierForTestProto.Builder builder = ContainerTokenIdentifierForTestProto.newBuilder(); if (containerID != null) { builder.setContainerId(((ContainerIdPBImpl)containerID).getProto()); } builder.setNmHostAddr(hostName); builder.setAppSubmitter(appSubmitter); if (r != null) { builder.setResource(((ResourcePBImpl)r).getProto()); } builder.setExpiryTimeStamp(expiryTimeStamp); builder.setMasterKeyId(masterKeyId); builder.setRmIdentifier(rmIdentifier); if (priority != null) { builder.setPriority(((PriorityPBImpl)priority).getProto()); } builder.setCreationTime(creationTime); if (logAggregationContext != null) { builder.setLogAggregationContext( ((LogAggregationContextPBImpl)logAggregationContext).getProto()); } proto = builder.build(); }
public ContainerTokenIdentifierForTest(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext) { ContainerTokenIdentifierForTestProto.Builder builder = ContainerTokenIdentifierForTestProto.newBuilder(); if (containerID != null) { builder.setContainerId(((ContainerIdPBImpl)containerID).getProto()); } builder.setNmHostAddr(hostName); builder.setAppSubmitter(appSubmitter); if (r != null) { builder.setResource(ProtoUtils.convertToProtoFormat(r)); } builder.setExpiryTimeStamp(expiryTimeStamp); builder.setMasterKeyId(masterKeyId); builder.setRmIdentifier(rmIdentifier); if (priority != null) { builder.setPriority(((PriorityPBImpl)priority).getProto()); } builder.setCreationTime(creationTime); if (logAggregationContext != null) { builder.setLogAggregationContext( ((LogAggregationContextPBImpl)logAggregationContext).getProto()); } proto = builder.build(); }
/** * <code>optional .hadoop.yarn.LogAggregationContextProto logAggregationContext = 10;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProtoOrBuilder> getLogAggregationContextFieldBuilder() { if (logAggregationContextBuilder_ == null) { logAggregationContextBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProtoOrBuilder>( logAggregationContext_, getParentForChildren(), isClean()); logAggregationContext_ = null; } return logAggregationContextBuilder_; }
/** * <code>optional .hadoop.yarn.ContainerIdProto containerId = 1;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder> getContainerIdFieldBuilder() { if (containerIdBuilder_ == null) { containerIdBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder>( containerId_, getParentForChildren(), isClean()); containerId_ = null; } return containerIdBuilder_; }
/** * <code>optional .hadoop.yarn.ResourceProto resource = 4;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto, org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ResourceProtoOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { resourceBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto, org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ResourceProtoOrBuilder>( resource_, getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; }
/** * <code>optional .hadoop.yarn.LogAggregationContextProto logAggregationContext = 10;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProtoOrBuilder> getLogAggregationContextFieldBuilder() { if (logAggregationContextBuilder_ == null) { logAggregationContextBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProtoOrBuilder>( logAggregationContext_, getParentForChildren(), isClean()); logAggregationContext_ = null; } return logAggregationContextBuilder_; }
/** * <code>optional .hadoop.yarn.PriorityProto priority = 8;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder> getPriorityFieldBuilder() { if (priorityBuilder_ == null) { priorityBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder>( priority_, getParentForChildren(), isClean()); priority_ = null; } return priorityBuilder_; }
/** * <code>optional .hadoop.yarn.ContainerIdProto containerId = 1;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder> getContainerIdFieldBuilder() { if (containerIdBuilder_ == null) { containerIdBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder>( containerId_, getParentForChildren(), isClean()); containerId_ = null; } return containerIdBuilder_; }
/** * <code>optional .hadoop.yarn.LogAggregationContextProto logAggregationContext = 10;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProtoOrBuilder> getLogAggregationContextFieldBuilder() { if (logAggregationContextBuilder_ == null) { logAggregationContextBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationContextProtoOrBuilder>( logAggregationContext_, getParentForChildren(), isClean()); logAggregationContext_ = null; } return logAggregationContextBuilder_; }
/** * <code>optional .hadoop.yarn.PriorityProto priority = 8;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder> getPriorityFieldBuilder() { if (priorityBuilder_ == null) { priorityBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder>( priority_, getParentForChildren(), isClean()); priority_ = null; } return priorityBuilder_; }
/** * <code>optional .hadoop.yarn.ContainerIdProto containerId = 1;</code> */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder> getContainerIdFieldBuilder() { if (containerIdBuilder_ == null) { containerIdBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder>( containerId_, getParentForChildren(), isClean()); containerId_ = null; } return containerIdBuilder_; }