if (subBuilder != null) { subBuilder.mergeFrom(remoteGraph_); remoteGraph_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(remoteGraph_); remoteGraph_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(graphDef_); graphDef_ = subBuilder.buildPartial();
/** * <pre> * Definition of remote graph * </pre> * * <code>.tensorflow.GraphDef remote_graph = 1;</code> */ public Builder mergeRemoteGraph(org.tensorflow.framework.GraphDef value) { if (remoteGraphBuilder_ == null) { if (remoteGraph_ != null) { remoteGraph_ = org.tensorflow.framework.GraphDef.newBuilder(remoteGraph_).mergeFrom(value).buildPartial(); } else { remoteGraph_ = value; } onChanged(); } else { remoteGraphBuilder_.mergeFrom(value); } return this; } /**
/** * <pre> * GraphDef. * </pre> * * <code>.tensorflow.GraphDef graph_def = 2;</code> */ public Builder mergeGraphDef(org.tensorflow.framework.GraphDef value) { if (graphDefBuilder_ == null) { if (graphDef_ != null) { graphDef_ = org.tensorflow.framework.GraphDef.newBuilder(graphDef_).mergeFrom(value).buildPartial(); } else { graphDef_ = value; } onChanged(); } else { graphDefBuilder_.mergeFrom(value); } return this; } /**
public org.tensorflow.framework.GraphDef build() { org.tensorflow.framework.GraphDef result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <pre> * Definition of remote graph * </pre> * * <code>.tensorflow.GraphDef remote_graph = 1;</code> */ public Builder mergeRemoteGraph(org.tensorflow.framework.GraphDef value) { if (remoteGraphBuilder_ == null) { if (remoteGraph_ != null) { remoteGraph_ = org.tensorflow.framework.GraphDef.newBuilder(remoteGraph_).mergeFrom(value).buildPartial(); } else { remoteGraph_ = value; } onChanged(); } else { remoteGraphBuilder_.mergeFrom(value); } return this; } /**
public org.tensorflow.framework.GraphDef build() { org.tensorflow.framework.GraphDef result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }