com.google.api.services.bigtableadmin.v2.model.TableProgress Maven / Gradle / Ivy
The 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.bigtableadmin.v2.model;
/**
* Progress info for copying a table's data to the new cluster.
*
* 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 Cloud Bigtable Admin 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 TableProgress extends com.google.api.client.json.GenericJson {
/**
* Estimate of the number of bytes copied so far for this table. This will eventually reach
* 'estimated_size_bytes' unless the table copy is CANCELLED.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long estimatedCopiedBytes;
/**
* Estimate of the size of the table to be copied.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long estimatedSizeBytes;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;
/**
* Estimate of the number of bytes copied so far for this table. This will eventually reach
* 'estimated_size_bytes' unless the table copy is CANCELLED.
* @return value or {@code null} for none
*/
public java.lang.Long getEstimatedCopiedBytes() {
return estimatedCopiedBytes;
}
/**
* Estimate of the number of bytes copied so far for this table. This will eventually reach
* 'estimated_size_bytes' unless the table copy is CANCELLED.
* @param estimatedCopiedBytes estimatedCopiedBytes or {@code null} for none
*/
public TableProgress setEstimatedCopiedBytes(java.lang.Long estimatedCopiedBytes) {
this.estimatedCopiedBytes = estimatedCopiedBytes;
return this;
}
/**
* Estimate of the size of the table to be copied.
* @return value or {@code null} for none
*/
public java.lang.Long getEstimatedSizeBytes() {
return estimatedSizeBytes;
}
/**
* Estimate of the size of the table to be copied.
* @param estimatedSizeBytes estimatedSizeBytes or {@code null} for none
*/
public TableProgress setEstimatedSizeBytes(java.lang.Long estimatedSizeBytes) {
this.estimatedSizeBytes = estimatedSizeBytes;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getState() {
return state;
}
/**
* @param state state or {@code null} for none
*/
public TableProgress setState(java.lang.String state) {
this.state = state;
return this;
}
@Override
public TableProgress set(String fieldName, Object value) {
return (TableProgress) super.set(fieldName, value);
}
@Override
public TableProgress clone() {
return (TableProgress) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy