All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.dataflow.model.JobMetadata Maven / Gradle / Ivy

There is a newer version: v1b4-rev7-1.20.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.dataflow.model;

/**
 * Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job
 * SUMMARY view.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class JobMetadata extends com.google.api.client.json.GenericJson { /** * Identification of a Cloud Bigtable source used in the Dataflow job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List bigTableDetails; static { // hack to force ProGuard to consider BigTableIODetails used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(BigTableIODetails.class); } /** * Identification of a BigQuery source used in the Dataflow job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List bigqueryDetails; static { // hack to force ProGuard to consider BigQueryIODetails used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(BigQueryIODetails.class); } /** * Identification of a Datastore source used in the Dataflow job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List datastoreDetails; static { // hack to force ProGuard to consider DatastoreIODetails used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(DatastoreIODetails.class); } /** * Identification of a File source used in the Dataflow job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List fileDetails; static { // hack to force ProGuard to consider FileIODetails used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(FileIODetails.class); } /** * Identification of a Pub/Sub source used in the Dataflow job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List pubsubDetails; /** * The SDK version used to run the job. * The value may be {@code null}. */ @com.google.api.client.util.Key private SdkVersion sdkVersion; /** * Identification of a Spanner source used in the Dataflow job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List spannerDetails; /** * List of display properties to help UI filter jobs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map userDisplayProperties; /** * Identification of a Cloud Bigtable source used in the Dataflow job. * @return value or {@code null} for none */ public java.util.List getBigTableDetails() { return bigTableDetails; } /** * Identification of a Cloud Bigtable source used in the Dataflow job. * @param bigTableDetails bigTableDetails or {@code null} for none */ public JobMetadata setBigTableDetails(java.util.List bigTableDetails) { this.bigTableDetails = bigTableDetails; return this; } /** * Identification of a BigQuery source used in the Dataflow job. * @return value or {@code null} for none */ public java.util.List getBigqueryDetails() { return bigqueryDetails; } /** * Identification of a BigQuery source used in the Dataflow job. * @param bigqueryDetails bigqueryDetails or {@code null} for none */ public JobMetadata setBigqueryDetails(java.util.List bigqueryDetails) { this.bigqueryDetails = bigqueryDetails; return this; } /** * Identification of a Datastore source used in the Dataflow job. * @return value or {@code null} for none */ public java.util.List getDatastoreDetails() { return datastoreDetails; } /** * Identification of a Datastore source used in the Dataflow job. * @param datastoreDetails datastoreDetails or {@code null} for none */ public JobMetadata setDatastoreDetails(java.util.List datastoreDetails) { this.datastoreDetails = datastoreDetails; return this; } /** * Identification of a File source used in the Dataflow job. * @return value or {@code null} for none */ public java.util.List getFileDetails() { return fileDetails; } /** * Identification of a File source used in the Dataflow job. * @param fileDetails fileDetails or {@code null} for none */ public JobMetadata setFileDetails(java.util.List fileDetails) { this.fileDetails = fileDetails; return this; } /** * Identification of a Pub/Sub source used in the Dataflow job. * @return value or {@code null} for none */ public java.util.List getPubsubDetails() { return pubsubDetails; } /** * Identification of a Pub/Sub source used in the Dataflow job. * @param pubsubDetails pubsubDetails or {@code null} for none */ public JobMetadata setPubsubDetails(java.util.List pubsubDetails) { this.pubsubDetails = pubsubDetails; return this; } /** * The SDK version used to run the job. * @return value or {@code null} for none */ public SdkVersion getSdkVersion() { return sdkVersion; } /** * The SDK version used to run the job. * @param sdkVersion sdkVersion or {@code null} for none */ public JobMetadata setSdkVersion(SdkVersion sdkVersion) { this.sdkVersion = sdkVersion; return this; } /** * Identification of a Spanner source used in the Dataflow job. * @return value or {@code null} for none */ public java.util.List getSpannerDetails() { return spannerDetails; } /** * Identification of a Spanner source used in the Dataflow job. * @param spannerDetails spannerDetails or {@code null} for none */ public JobMetadata setSpannerDetails(java.util.List spannerDetails) { this.spannerDetails = spannerDetails; return this; } /** * List of display properties to help UI filter jobs. * @return value or {@code null} for none */ public java.util.Map getUserDisplayProperties() { return userDisplayProperties; } /** * List of display properties to help UI filter jobs. * @param userDisplayProperties userDisplayProperties or {@code null} for none */ public JobMetadata setUserDisplayProperties(java.util.Map userDisplayProperties) { this.userDisplayProperties = userDisplayProperties; return this; } @Override public JobMetadata set(String fieldName, Object value) { return (JobMetadata) super.set(fieldName, value); } @Override public JobMetadata clone() { return (JobMetadata) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy