/** * <code>repeated .tensorflow.FunctionDef function = 1;</code> */ public Builder addFunction( int index, org.tensorflow.framework.FunctionDef.Builder builderForValue) { if (functionBuilder_ == null) { ensureFunctionIsMutable(); function_.add(index, builderForValue.build()); onChanged(); } else { functionBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.FunctionDef function = 1;</code> */ public Builder addFunction( org.tensorflow.framework.FunctionDef.Builder builderForValue) { if (functionBuilder_ == null) { ensureFunctionIsMutable(); function_.add(builderForValue.build()); onChanged(); } else { functionBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.FunctionDef function = 1;</code> */ public Builder setFunction( int index, org.tensorflow.framework.FunctionDef.Builder builderForValue) { if (functionBuilder_ == null) { ensureFunctionIsMutable(); function_.set(index, builderForValue.build()); onChanged(); } else { functionBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.FunctionDef function = 1;</code> */ public Builder setFunction( int index, org.tensorflow.framework.FunctionDef.Builder builderForValue) { if (functionBuilder_ == null) { ensureFunctionIsMutable(); function_.set(index, builderForValue.build()); onChanged(); } else { functionBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.FunctionDef function = 1;</code> */ public Builder addFunction( int index, org.tensorflow.framework.FunctionDef.Builder builderForValue) { if (functionBuilder_ == null) { ensureFunctionIsMutable(); function_.add(index, builderForValue.build()); onChanged(); } else { functionBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.FunctionDef function = 1;</code> */ public Builder addFunction( org.tensorflow.framework.FunctionDef.Builder builderForValue) { if (functionBuilder_ == null) { ensureFunctionIsMutable(); function_.add(builderForValue.build()); onChanged(); } else { functionBuilder_.addMessage(builderForValue.build()); } return this; } /**