public Builder mergeFrom(org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo other) { if (other == org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getNodeId() != 0) { setNodeId(other.getNodeId()); } if (!other.shape_.isEmpty()) { if (shape_.isEmpty()) { shape_ = other.shape_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureShapeIsMutable(); shape_.addAll(other.shape_); } onChanged(); } if (other.getData() != com.github.os72.protobuf351.ByteString.EMPTY) { setData(other.getData()); } if (other.dtype_ != 0) { setDtypeValue(other.getDtypeValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo getDefaultInstanceForType() { return org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo.getDefaultInstance(); }
/** * <code>repeated .tensorflow.GraphTransferInfo.ConstNodeInfo const_node_info = 2;</code> */ public org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo.Builder addConstNodeInfoBuilder( int index) { return getConstNodeInfoFieldBuilder().addBuilder( index, org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo.getDefaultInstance()); } /**
/** * <code>repeated .tensorflow.GraphTransferInfo.ConstNodeInfo const_node_info = 2;</code> */ public org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo.Builder addConstNodeInfoBuilder() { return getConstNodeInfoFieldBuilder().addBuilder( org.tensorflow.framework.GraphTransferInfo.ConstNodeInfo.getDefaultInstance()); } /**
/** * <code>bytes data = 4;</code> */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**