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

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

There is a newer version: v1b4-rev7-1.20.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * 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://code.google.com/p/google-apis-client-generator/
 * (build: 2016-04-08 17:16:44 UTC)
 * on 2016-04-27 at 00:23:15 UTC 
 * Modify at your own risk.
 */

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

/**
 * Location information for a specific key-range of a sharded computation. Currently we only support
 * UTF-8 character splits to simplify encoding into JSON.
 *
 * 

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 Google Dataflow API. For a detailed explanation see: * http://code.google.com/p/google-http-java-client/wiki/JSON *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class KeyRangeLocation extends com.google.api.client.json.GenericJson { /** * The name of the data disk where data for this range is stored. This name is local to the Google * Cloud Platform project and uniquely identifies the disk within that project, for example * "myproject-1014-104817-4c2-harness-0-disk-1". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String dataDisk; /** * The physical location of this range assignment to be used for streaming computation cross- * worker message delivery. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String deliveryEndpoint; /** * The end (exclusive) of the key range. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String end; /** * The location of the persistent state for this range, as a persistent directory in the worker * local filesystem. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String persistentDirectory; /** * The start (inclusive) of the key range. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String start; /** * The name of the data disk where data for this range is stored. This name is local to the Google * Cloud Platform project and uniquely identifies the disk within that project, for example * "myproject-1014-104817-4c2-harness-0-disk-1". * @return value or {@code null} for none */ public java.lang.String getDataDisk() { return dataDisk; } /** * The name of the data disk where data for this range is stored. This name is local to the Google * Cloud Platform project and uniquely identifies the disk within that project, for example * "myproject-1014-104817-4c2-harness-0-disk-1". * @param dataDisk dataDisk or {@code null} for none */ public KeyRangeLocation setDataDisk(java.lang.String dataDisk) { this.dataDisk = dataDisk; return this; } /** * The physical location of this range assignment to be used for streaming computation cross- * worker message delivery. * @return value or {@code null} for none */ public java.lang.String getDeliveryEndpoint() { return deliveryEndpoint; } /** * The physical location of this range assignment to be used for streaming computation cross- * worker message delivery. * @param deliveryEndpoint deliveryEndpoint or {@code null} for none */ public KeyRangeLocation setDeliveryEndpoint(java.lang.String deliveryEndpoint) { this.deliveryEndpoint = deliveryEndpoint; return this; } /** * The end (exclusive) of the key range. * @return value or {@code null} for none */ public java.lang.String getEnd() { return end; } /** * The end (exclusive) of the key range. * @param end end or {@code null} for none */ public KeyRangeLocation setEnd(java.lang.String end) { this.end = end; return this; } /** * The location of the persistent state for this range, as a persistent directory in the worker * local filesystem. * @return value or {@code null} for none */ public java.lang.String getPersistentDirectory() { return persistentDirectory; } /** * The location of the persistent state for this range, as a persistent directory in the worker * local filesystem. * @param persistentDirectory persistentDirectory or {@code null} for none */ public KeyRangeLocation setPersistentDirectory(java.lang.String persistentDirectory) { this.persistentDirectory = persistentDirectory; return this; } /** * The start (inclusive) of the key range. * @return value or {@code null} for none */ public java.lang.String getStart() { return start; } /** * The start (inclusive) of the key range. * @param start start or {@code null} for none */ public KeyRangeLocation setStart(java.lang.String start) { this.start = start; return this; } @Override public KeyRangeLocation set(String fieldName, Object value) { return (KeyRangeLocation) super.set(fieldName, value); } @Override public KeyRangeLocation clone() { return (KeyRangeLocation) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy