language
stringclasses
2 values
func_code_string
stringlengths
63
466k
python
def checkInstrumentsValidity(self): """Checks the validity of the instruments used in the Analyses If an analysis with an invalid instrument (out-of-date or with calibration tests failed) is found, a warn message will be displayed. """ invalid = [] ans = self.context.getA...
java
public static String parseDateWithoutFraction(String date) { if(date == null) return ""; if (date.length() < 20) { return date; } return date.substring(0, 19); }
python
def expand_actions(self, actions): """Accepts an array of actions and returns an array of actions which match. This should be called before "matches?" and other checking methods since they rely on the actions to be expanded.""" results = list() for action in actions: ...
java
public static DateRange range(Date start, Date end, final DateField unit) { return new DateRange(start, end, unit); }
python
def enabled(self): """bool: ``True`` if BGP is enabled; ``False`` if BGP is disabled. """ namespace = 'urn:ietf:params:xml:ns:netconf:base:1.0' bgp_filter = 'rbridge-id/router/bgp' bgp_config = ET.Element('get-config', xmlns="%s" % namespace) source = ET.SubElement(bgp_co...
java
@Override public List<String> removeSavedPlainCommands() { if (saved.isEmpty()) { return Collections.emptyList(); } List<String> result = new ArrayList<>(saved); saved.clear(); if (!result.isEmpty()) { log.info("{} commands are removed from saved list"...
java
private Index ensureIndexed(Index proposedIndex) throws QueryException { for (FieldSort fs : proposedIndex.fieldNames) { if (fs.sort == FieldSort.Direction.DESCENDING) { throw new UnsupportedOperationException("Indexes with Direction.DESCENDING are " + "not s...
java
protected void beginDragging(MouseDownEvent event) { m_dragging = true; m_windowWidth = Window.getClientWidth(); m_clientLeft = Document.get().getBodyOffsetLeft(); m_clientTop = Document.get().getBodyOffsetTop(); DOM.setCapture(getElement()); m_dragStartX = event.getX();...
java
public static IProject getProject(Resource resource) { ProjectAdapter adapter = (ProjectAdapter) EcoreUtil.getAdapter(resource.getResourceSet().eAdapters(), ProjectAdapter.class); if (adapter == null) { final String platformString = resource.getURI().toPlatformString(true); final IProject project = ResourcesP...
java
public <O> ListenableFuture<O> borrowBatchAsync(int maxSize, Function<List<T>, BorrowResult<T, O>> function) { checkArgument(maxSize >= 0, "maxSize must be at least 0"); ListenableFuture<List<T>> borrowedListFuture; synchronized (this) { List<T> list = getBatch(maxSize); ...
java
public ResourceGroupExportResultInner exportTemplate(String resourceGroupName, ExportTemplateRequest parameters) { return exportTemplateWithServiceResponseAsync(resourceGroupName, parameters).toBlocking().single().body(); }
python
def permutation_arbitrary(qubit_inds, n_qubits): """ Generate the permutation matrix that permutes an arbitrary number of single-particle Hilbert spaces into adjacent positions. Transposes the qubit indices in the order they are passed to a contiguous region in the complete Hilbert space, in increa...
java
protected void updateModelBase(ModelBase value, String xmlTag, Counter counter, Element element) { boolean shouldExist = value != null; Element root = updateElement(counter, element, xmlTag, shouldExist); if (shouldExist) { Counter innerCount = new Counter(counter.getDepth() + 1); ...
java
public List<Integer> getRunningFlowIds() { final List<Integer> allIds = new ArrayList<>(); try { getExecutionIdsHelper(allIds, this.executorLoader.fetchUnfinishedFlows().values()); } catch (final ExecutorManagerException e) { this.logger.error("Failed to get running flow ids.", e); } ret...
java
@Override public int compare(Integer o1, Integer o2) { double diff = dataArray[o2] - dataArray[o1]; if (diff == 0) { return 0; } if (sortType == ASCENDING) { return (diff > 0) ? -1 : 1; } else { return (diff > 0) ? 1 : -1; } }
python
def get_url_shortener(): """ Return the selected URL shortener backend. """ try: backend_module = import_module(URL_SHORTENER_BACKEND) backend = getattr(backend_module, 'backend') except (ImportError, AttributeError): warnings.warn('%s backend cannot be imported' % URL_SHORTE...
python
def update_ips(self): """Retrieves the public and private ip of the instance by using the cloud provider. In some cases the public ip assignment takes some time, but this method is non blocking. To check for a public ip, consider calling this method multiple times during a certain timeou...
java
public Observable<Void> beginImportImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters) { return beginImportImageWithServiceResponseAsync(resourceGroupName, registryName, parameters).map(new Func1<ServiceResponse<Void>, Void>() { @Override public Vo...
java
@Override public void setTraceRouter(WsTraceRouter traceRouter) { internalTraceRouter.set(traceRouter); // Pass the earlierMessages queue to the router. // Now that the internalMessageRouter is non-null, this class will // NOT add any more messages to the earlierMessages queue. ...
java
private static <T> List<T> toCandidateList(List<EvaluatedCandidate<T>> evaluatedCandidates) { List<T> candidates = new ArrayList<T>(evaluatedCandidates.size()); for (EvaluatedCandidate<T> evaluatedCandidate : evaluatedCandidates) { candidates.add(evaluatedCandidate.getCandidate()...
java
public void endObject() throws IOException { int p = peeked; if (p == PEEKED_NONE) { p = doPeek(); } if (p == PEEKED_END_OBJECT) { stackSize--; pathNames[stackSize] = null; // Free the last path name so that it can be garbage collected! pathIndices[stackSize - 1]++; peeked ...
java
@Override protected void executeRuntimeStep(OperationContext context, ModelNode operation) { final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR)); final String cacheContainerName = address.getElement(address.size() - 2).getValue(); final String cacheName = address.getLast...
java
public int getAttributeValueAsInteger(final String _key) throws EFapsException { final String value = getAttributeValue(_key); return value == null ? 0 : Integer.parseInt(value); }
java
public static WriteableSymbolTable symbolTableEffectiveCopy(SymbolTable syms) { if (syms instanceof ImmutableSymbolTable) { return new UnionSymbolTable(syms); } if (syms instanceof UnionSymbolTable) { return UnionSymbolTable.copyFrom((UnionSymbolTable) syms); } if (syms instanceof Frozen...
java
private String getSystemHostName() { if (EventUtils.isEmptyOrNull(systemHostName)) { try { systemHostName = InetAddress.getLocalHost().getHostName(); } catch (Throwable t) { systemHostName = "localhost"; } } return systemHostName; }
python
def check(self, **kwargs): # pragma: no cover """Calls the TimeZoneField's custom checks.""" errors = super(TimeZoneField, self).check(**kwargs) errors.extend(self._check_timezone_max_length_attribute()) errors.extend(self._check_choices_attribute()) return errors
java
public JsonArray names() throws JsonException { return nameValuePairs.isEmpty() ? null : new JsonArray(new ArrayList<String>(nameValuePairs.keySet())); }
python
def generate_defect_structure(self, supercell=(1, 1, 1)): """ Returns Defective Interstitial structure, decorated with charge Args: supercell (int, [3x1], or [[]] (3x3)): supercell integer, vector, or scaling matrix """ defect_structure = self.bulk_structure.copy() ...
java
public static <I, S, A extends MutableDFA<S, I>> A equiv(DFA<?, I> dfa1, DFA<?, I> dfa2, Collection<? extends I> inputs, A out) { ...
python
def fix_pix_borders(image2d, nreplace, sought_value, replacement_value): """Replace a few pixels at the borders of each spectrum. Set to 'replacement_value' 'nreplace' pixels at the beginning (at the end) of each spectrum just after (before) the spectrum value changes from (to) 'sought_value', as seen ...
java
public String convertIfcStructuralSurfaceMemberTypeEnumToString(EDataType eDataType, Object instanceValue) { return instanceValue == null ? null : instanceValue.toString(); }
python
def get_clusters(self, variant_id): """Search what clusters a variant belongs to Args: variant_id(str): From ID column in vcf Returns: clusters() """ query = {'variant_id':variant_id} identities = self.db.identity.find(query) ...
java
private SqlNode navigationInDefine(SqlNode node, String alpha) { Set<String> prefix = node.accept(new PatternValidator(false)); Util.discard(prefix); node = new NavigationExpander().go(node); node = new NavigationReplacer(alpha).go(node); return node; }
python
def as_bel(self) -> str: """Return this node as a BEL string.""" variants = self.get(VARIANTS) if not variants: return super(CentralDogma, self).as_bel() variants_canon = sorted(map(str, variants)) return "{}({}:{}, {})".format( self._func, ...
python
def try_disk(self, path, gpg=True): """ Try to load json off disk """ if not os.path.isfile(path): return if not gpg or self.validate_gpg_sig(path): stream = open(path, 'r') json_stream = stream.read() if len(json_stream): ...
java
public static boolean isEquals( String s1, String s2) { return s1 == null ? s2 == null : s1.equals(s2); }
python
def CacheQueryResults( self, sql_results, attribute_name, key_name, column_names): """Build a dictionary object based on a SQL command. This function will take a SQL command, execute it and for each resulting row it will store a key in a dictionary. An example:: sql_results = A SQL result...
python
def connect(self): """ Opens a connection to the mail host. """ app = getattr(self, "app", None) or current_app try: return Connection(app.extensions['mail']) except KeyError: raise RuntimeError("The curent application was" ...
python
def _parse_patterns(self, pattern): """Parse patterns.""" self.pattern = [] self.npatterns = None npattern = [] for p in pattern: if _wcparse.is_negative(p, self.flags): # Treat the inverse pattern as a normal pattern if it matches, we will exclude. ...
java
public void destroy() throws ChainException, ChannelException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "destroy; " + this); } synchronized (this.cf) { // Verify that the VCF hasn't already been destroyed. if (0 == getRe...
python
def recover(self, data, redis=None): ''' Retrieve this field's value from the database ''' value = data.get(self.name) if value is None or value == 'None': return None return str(value)
java
public void addPushResponse(int streamId, HttpCarbonResponse pushResponse) { pushResponsesMap.put(streamId, pushResponse); responseFuture.notifyPushResponse(streamId, pushResponse); }
java
AxesWalker cloneDeep(WalkingIterator cloneOwner, Vector cloneList) throws CloneNotSupportedException { AxesWalker clone = findClone(this, cloneList); if(null != clone) return clone; clone = (AxesWalker)this.clone(); clone.setLocPathIterator(cloneOwner); if(null != cloneList) { ...
python
def close(self): ''' Close the application and all installed plugins. ''' for plugin in self.plugins: if hasattr(plugin, 'close'): plugin.close() self.stopped = True
java
protected void cleanStart() { File workareaFile = bootProps.getWorkareaFile(null); // If we're clean starting, remove all files from the working directory; // Note: do not reverse the checks in the following if(); we need to call hasServiceBeenApplied each time if (ServiceFingerprint.ha...
python
def get_levels(self, arcs): """Calculate available arc height "levels". Used to calculate arrow heights dynamically and without wasting space. args (list): Individual arcs and their start, end, direction and label. RETURNS (list): Arc levels sorted from lowest to highest. """ ...
java
private void reportBadBaseMethodUse(Node n, String className, String extraMessage) { compiler.report(JSError.make(n, BASE_CLASS_ERROR, className, extraMessage)); }
java
private static void initTextFileConverterAdapterResource() { try { theTextFileConverterAdapterResource = ResourceBundle.getBundle(RB_PREXIX + RB_TEXT_FILE_CONVERTER_ADAPTER); } // try catch (MissingResourceException _exception) { _exception.printStackTrace(); } // catch (MissingResourceException _exc...
java
@Override public UpdateResolverEndpointResult updateResolverEndpoint(UpdateResolverEndpointRequest request) { request = beforeClientExecution(request); return executeUpdateResolverEndpoint(request); }
python
def queuedb_create(path): """ Create a sqlite3 db at the given path. Create all the tables and indexes we need. Raises if the table already exists """ global QUEUE_SQL, ERROR_SQL lines = [l + ";" for l in QUEUE_SQL.split(";")] con = sqlite3.connect( path, isolation_level=None ) db_...
python
def generate(self, **kwargs): """Generate the methods section. Parameters ---------- task_converter : :obj:`dict`, optional A dictionary with information for converting task names from BIDS filename format to human-readable strings. Returns -----...
java
static protected NodeInfo selectSeedNext( NodeInfo prevSeed , NodeInfo prevNext , NodeInfo currentSeed, boolean ccw ) { double referenceAngle = direction(prevNext, prevSeed); double bestScore = Double.MAX_VALUE; NodeInfo best = null; // cut down on verbosity by saving the reference here Poin...
java
public static boolean acquireLock(Context context) { if (wl != null && wl.isHeld()) { return true; } powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); wl = powerManager.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); if (wl == nu...
python
def load_conll(cls, fname): """ The CONLL file must have a tab delimited header, for example:: # description tags Alice Hello t1 my t2 name t3 is t4 alice t5 Bob I'm t1 ...
java
protected Map<String, Map<String, String>> createPrintableDataContext(Map<String, Map<String, String>> dataContext) { return createPrintableDataContext(OPTION_KEY, SECURE_OPTION_KEY, SECURE_OPTION_VALUE, dataContext); }
java
static boolean intersect(int[] verts, int a, int b, int c, int d) { if (intersectProp(verts, a, b, c, d)) return true; else if (between(verts, a, b, c) || between(verts, a, b, d) || between(verts, c, d, a) || between(verts, c, d, b)) return true; else ...
java
protected boolean isValidLocation(Mover mover, int sx, int sy, int x, int y) { boolean invalid = (x < 0) || (y < 0) || (x >= map.getWidthInTiles()) || (y >= map.getHeightInTiles()); if ((!invalid) && ((sx != x) || (sy != y))) { this.mover = mover; this.sourceX = sx; this.sourceY = sy; invalid ...
python
def connect_async(self, connection_id, connection_string, callback): """Connect to a device by its connection_string This function looks for the device on AWS IOT using the preconfigured topic prefix and looking for: <prefix>/devices/connection_string It then attempts to lock t...
python
def get_info(sld, tld, nameserver): ''' Retrieves information about a registered nameserver. Returns the following information: - IP Address set for the nameserver - Domain name which was queried - A list of nameservers and their statuses sld SLD of the domain name tld ...
java
@Service public String ackTaskReceived(String taskId, String workerId) { LOGGER.debug("Ack received for task: {} from worker: {}", taskId, workerId); return String.valueOf(ackTaskReceived(taskId)); }
java
public static Class<?> findAnnotationDeclaringClass(Class<? extends Annotation> annotationType, Class<?> clazz) { Assert.notNull(annotationType, "Annotation type must not be null"); if (clazz == null || clazz.equals(Object.class)) { return null; } if (isAnnotationDeclaredLocally(annotationType, clazz)) { ...
java
public GetVideoInfoEpisodeOperation buildGetVideoInfoEpisodeOperation(String databasePath, String videoId){ return new GetVideoInfoEpisodeOperation(getOperationFactory(), databasePath, videoId); }
python
def apply(self, stream=False): """ Run a 'terraform apply' :param stream: whether or not to stream TF output in realtime :type stream: bool """ self._setup_tf(stream=stream) try: self._taint_deployment(stream=stream) except Exception: ...
java
public CompletableFuture<Boolean> drain(Duration timeout) throws InterruptedException { if (!this.isActive() || this.connection==null) { throw new IllegalStateException("Consumer is closed"); } if (isDraining()) { return this.getDrainingFuture(); } Instant star...
java
protected void releaseIpAddress( String ip ) { this.logger.fine( "Releasing IP address: " + ip ); this.usedIps.remove( ip ); save( this ); }
java
private static Type[] getImplicitUpperBounds(final WildcardType wildcardType) { Assert.requireNonNull(wildcardType, "wildcardType"); final Type[] bounds = wildcardType.getUpperBounds(); return bounds.length == 0 ? new Type[]{Object.class} : normalizeUpperBounds(bounds); }
java
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; colorChooserBorder = new com.igormaznitsa.sciareto.ui.misc.ColorChooserButton(); colorChooserFill = ne...
python
def exists_secondary_combined_list(curriculum_abbr, course_number, primary_section_id, quarter, year): """ Return True if a combined mailman list exists for all the sec...
java
public static void copyStream(InputStream copyFrom, OutputStream copyTo) throws IOException { copyStream(copyFrom, copyTo, null); }
java
public GetSessionTokenResponse getSessionToken(GetSessionTokenRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkIsTrue(request.getDurationSeconds() > 0, "the durationSeconds parameter should be greater than zero"); InternalRequest internalRequest = new ...
java
public boolean isEmbeddable(Class embeddableClazz) { return embeddables != null ? embeddables.containsKey(embeddableClazz) && embeddables.get(embeddableClazz).getPersistenceType().equals(PersistenceType.EMBEDDABLE) : false; }
python
def base(self): """ Return the base object if the memory of the underlying data is shared. .. deprecated:: 0.23.0 """ warnings.warn("{obj}.base is deprecated and will be removed " "in a future version".format(obj=type(self).__name__), ...
python
def _calculate_data_point_zscalars(self, x, y, type_='array'): """Determines the Z-scalar values at the specified coordinates for use when setting up the kriging matrix. Uses bilinear interpolation. Currently, the Z scalar values are extracted from the input Z grid exactly a...
python
def cleanup(self): """Run cleanup script of pipeline when hook is configured.""" if self.data.hooks and len(self.data.hooks.cleanup) > 0: env = self.data.env_list[0].copy() env.update({'PIPELINE_RESULT': 'SUCCESS', 'PIPELINE_SHELL_EXIT_CODE': '0'}) config = ShellConfi...
java
public static CommerceDiscount[] filterFindByG_C_PrevAndNext( long commerceDiscountId, long groupId, String couponCode, OrderByComparator<CommerceDiscount> orderByComparator) throws com.liferay.commerce.discount.exception.NoSuchDiscountException { return getPersistence() .filterFindByG_C_PrevAndNext(comm...
python
def tileServers(self): """ Returns the objects to manage site's tile hosted services/servers. It returns AGSAdministration object if the site is Portal and it returns a hostedservice.Services object if it is AGOL. """ services = [] ishttps = False if...
python
def key_event_to_name(event): """ Converts a keystroke event into a corresponding key name. """ key_code = event.key() modifiers = event.modifiers() if modifiers & QtCore.Qt.KeypadModifier: key = keypad_map.get(key_code) else: key = None if key is None: key = key_map....
java
public org.tensorflow.framework.DeviceLocality getClientLocality() { return clientLocality_ == null ? org.tensorflow.framework.DeviceLocality.getDefaultInstance() : clientLocality_; }
java
@Override public void update(Object pData) throws APPErrorException { valid(pData); mDao.updateByPrimaryKey(pData); }
java
public void getGroups(String startFrom, boolean forward, Collection<Recipient> result) { List<String> lst = broker.callRPCList("RGUTRPC FILGET", null, 3.8, startFrom, forward ? 1 : -1, MG_SCREEN, 40); toRecipients(lst, true, startFrom, result); }
java
public static com.liferay.commerce.product.model.CPDefinitionOptionRel fetchCPDefinitionOptionRelByUuidAndGroupId( String uuid, long groupId) { return getService() .fetchCPDefinitionOptionRelByUuidAndGroupId(uuid, groupId); }
java
public String getValue() { String value = null; if (fixedValue != null) { value = fixedValue; } else if (currentValue != null) { value = currentValue; } else if (constraint != null) { value = constraint.initValues(null); } if (value == null) { value = ""; } return configuration.p...
java
public static <S, I> StateIDs<S> initDeterministic(PaigeTarjan pt, SimpleDeterministicAutomaton<S, I> automaton, Alphabet<I> inputs, Function<? super S, ?>...
java
@Override public void clear() { values.clear(); listBox.clear(); clearStatusText(); if (emptyPlaceHolder != null) { insertEmptyPlaceHolder(emptyPlaceHolder); } reload(); if (isAllowBlank()) { addBlankItemIfNeeded(); } }
python
def pop(self, n=None): """Call from main thread. Returns the list of newly-available (handle, env) pairs.""" self.error_buffer.check() envs = [] if n is None: while True: try: envs += self.ready.get(block=False) except que...
python
def clear(self) -> None: """ Clears the board. Resets move stack and move counters. The side to move is white. There are no rooks or kings, so castling rights are removed. In order to be in a valid :func:`~chess.Board.status()` at least kings need to be put on the board...
python
def all(*validators): """Validation only succeeds if all passed in validators return no errors""" def validate_all(fields): for validator in validators: errors = validator(fields) if errors: return errors validate_all.__doc__ = " and ".join(validator.__doc__ ...
java
private static CharSequence convertReverseDNSIPv4(String str, int suffixStartIndex) throws AddressStringException { StringBuilder builder = new StringBuilder(suffixStartIndex); int segCount = 0; int j = suffixStartIndex; for(int i = suffixStartIndex - 1; i > 0; i--) { char c1 = str.charAt(i); if(c1 == IPv...
java
private V replaceValue(Node<V> node, V newValue) { // Note: a node is terminal if it already has a value if (node.isTerminal()) { V old = node.value; node.value = newValue; return old; } // the node wasn't already a terminal node (i.e. this char sequence is a // substring of an existing seque...
python
def space_acl(args): ''' Retrieve access control list for a workspace''' r = fapi.get_workspace_acl(args.project, args.workspace) fapi._check_response_code(r, 200) result = dict() for user, info in sorted(r.json()['acl'].items()): result[user] = info['accessLevel'] return result
java
public final byte[] getStringAsBytes(int columnIndex) { validateColumnType(columnIndex, VoltType.STRING); int pos = m_buffer.position(); m_buffer.position(getOffset(columnIndex)); int len = m_buffer.getInt(); if (len == VoltTable.NULL_STRING_INDICATOR) { m_wasNull = t...
python
def chartItems(self): """ Returns the chart items that are found within this scene. :return [<XChartWidgetItem>, ..] """ from projexui.widgets.xchartwidget import XChartWidgetItem return filter(lambda x: isinstance(x, XChartWidgetItem), self.items())
python
def add_serverconnection_methods(cls): """Add a bunch of methods to an :class:`irc.client.SimpleIRCClient` to send commands and messages. Basically it wraps a bunch of methdos from :class:`irc.client.ServerConnection` to be :meth:`irc.schedule.IScheduler.execute_after`. That way, you can easily...
java
protected S getService() { // No need to recreate it if (service != null) { return service; } Retrofit.Builder retrofitBuilder = new Retrofit.Builder() .baseUrl(baseUrl()) .addConverterFactory(GsonConverterFactory.create(getGsonBuilder().create())); if (getCallFactory() != null) ...
python
def render_blocks(self, template_name, **context): """ To render all the blocks :param template_name: The template file name :param context: **kwargs context to render :retuns dict: of all the blocks with block_name as key """ blocks = {} template = self._...
java
public void setDMName(String newDMName) { String oldDMName = dmName; dmName = newDMName; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.EDM__DM_NAME, oldDMName, dmName)); }
python
def _drawIndentMarkersAndEdge(self, paintEventRect): """Draw indentation markers """ painter = QPainter(self.viewport()) def drawWhiteSpace(block, column, char): leftCursorRect = self.__cursorRect(block, column, 0) rightCursorRect = self.__cursorRect(block, colum...
java
public final ItemStream findFirstMatchingItemStream(Filter filter) throws MessageStoreException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "findFirstMatchingItemStream", filter); ItemStream item = (ItemStream) _itemStreams.findFirstMatching(filter); ...
java
private Token unwindTo(int targetIndent, Token copyFrom) { assert dentsBuffer.isEmpty() : dentsBuffer; dentsBuffer.add(createToken(nlToken, copyFrom)); // To make things easier, we'll queue up ALL of the dedents, and then pop off the first one. // For example, here's how some text is analyzed: // ...
java
static void validateTypeForSchemaMarshalling(Class<?> type) { if (isNonCollectionInterface(type) || isAbstract(type)) { throw new IllegalArgumentException("Cannot marshal " + type.getSimpleName() + ". Interfaces and abstract class cannot be cannot be marshalled into consistent BigQuery data."); ...