예제 #1
0
 @Override
 public void setVirtualCores(int vCores) {
   maybeInitBuilder();
   builder.setVirtualCores((vCores));
 }
예제 #2
0
 /**
  * fxx
  *
  * @param outbound_network_bandwidth_mbits
  */
 @Override
 public void setOutboundNetworkBandwidthMbits(int outbound_network_bandwidth_mbits) {
   maybeInitBuilder();
   ;
   builder.setOutboundNetworkBandwidth(outbound_network_bandwidth_mbits);
 }
예제 #3
0
 @Override
 public void setMemory(int memory) {
   maybeInitBuilder();
   builder.setMemory((memory));
 }
예제 #4
0
 public ResourceProto getProto() {
   proto = viaProto ? proto : builder.build();
   viaProto = true;
   return proto;
 }