private StartContainerRequestPBImpl convertFromProtoFormat( StartContainerRequestProto p) { return new StartContainerRequestPBImpl(p); }
private StartContainerRequestProto convertToProtoFormat( StartContainerRequest t) { return ((StartContainerRequestPBImpl) t).getProto(); } }
private void mergeLocalToBuilder() { if (this.containerLaunchContext != null) { builder.setContainerLaunchContext(convertToProtoFormat(this.containerLaunchContext)); } if(this.containerToken != null) { builder.setContainerToken(convertToProtoFormat(this.containerToken)); } }
private void mergeLocalToProto() { if (viaProto) maybeInitBuilder(); mergeLocalToBuilder(); proto = builder.build(); viaProto = true; }
@Override public ContainerLaunchContext getContainerLaunchContext() { StartContainerRequestProtoOrBuilder p = viaProto ? proto : builder; if (this.containerLaunchContext != null) { return this.containerLaunchContext; } if (!p.hasContainerLaunchContext()) { return null; } this.containerLaunchContext = convertFromProtoFormat(p.getContainerLaunchContext()); return this.containerLaunchContext; }
@Override public void setContainerLaunchContext(ContainerLaunchContext containerLaunchContext) { maybeInitBuilder(); if (containerLaunchContext == null) builder.clearContainerLaunchContext(); this.containerLaunchContext = containerLaunchContext; }
public StartContainerRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void mergeLocalToProto() { if (viaProto) maybeInitBuilder(); mergeLocalToBuilder(); proto = builder.build(); viaProto = true; }
@Override public Token getContainerToken() { StartContainerRequestProtoOrBuilder p = viaProto ? proto : builder; if (this.containerToken != null) { return this.containerToken; } if (!p.hasContainerToken()) { return null; } this.containerToken = convertFromProtoFormat(p.getContainerToken()); return this.containerToken; }
@Override public void setContainerLaunchContext(ContainerLaunchContext containerLaunchContext) { maybeInitBuilder(); if (containerLaunchContext == null) builder.clearContainerLaunchContext(); this.containerLaunchContext = containerLaunchContext; }
public StartContainerRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private StartContainerRequestProto convertToProtoFormat( StartContainerRequest t) { return ((StartContainerRequestPBImpl) t).getProto(); } }
private StartContainerRequestPBImpl convertFromProtoFormat( StartContainerRequestProto p) { return new StartContainerRequestPBImpl(p); }
private void mergeLocalToProto() { if (viaProto) maybeInitBuilder(); mergeLocalToBuilder(); proto = builder.build(); viaProto = true; }
@Override public Token getContainerToken() { StartContainerRequestProtoOrBuilder p = viaProto ? proto : builder; if (this.containerToken != null) { return this.containerToken; } if (!p.hasContainerToken()) { return null; } this.containerToken = convertFromProtoFormat(p.getContainerToken()); return this.containerToken; }
@Override public void setContainerToken(Token containerToken) { maybeInitBuilder(); if(containerToken == null) { builder.clearContainerToken(); } this.containerToken = containerToken; }
public StartContainerRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void mergeLocalToBuilder() { if (this.containerLaunchContext != null) { builder.setContainerLaunchContext(convertToProtoFormat(this.containerLaunchContext)); } if(this.containerToken != null) { builder.setContainerToken(convertToProtoFormat(this.containerToken)); } }
private StartContainerRequestProto convertToProtoFormat( StartContainerRequest t) { return ((StartContainerRequestPBImpl) t).getProto(); } }
private StartContainerRequestPBImpl convertFromProtoFormat( StartContainerRequestProto p) { return new StartContainerRequestPBImpl(p); }