@Override public ContainerId getContainerId() { ContainerResourceIncreaseProtoOrBuilder p = viaProto ? proto : builder; if (this.existingContainerId != null) { return this.existingContainerId; } if (p.hasContainerId()) { this.existingContainerId = convertFromProtoFormat(p.getContainerId()); } return this.existingContainerId; }
@Override public Resource getCapability() { ContainerResourceIncreaseProtoOrBuilder p = viaProto ? proto : builder; if (this.targetCapability != null) { return this.targetCapability; } if (p.hasCapability()) { this.targetCapability = convertFromProtoFormat(p.getCapability()); } return this.targetCapability; }
@Override public Token getContainerToken() { ContainerResourceIncreaseProtoOrBuilder p = viaProto ? proto : builder; if (this.token != null) { return this.token; } if (p.hasContainerToken()) { this.token = convertFromProtoFormat(p.getContainerToken()); } return this.token; }