com.google.api.services.toolresults.model.MemoryInfo Maven / Gradle / Ivy
/*
* 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://github.com/google/apis-client-generator/
* (build: 2017-02-15 17:18:02 UTC)
* on 2017-06-07 at 03:00:34 UTC
* Modify at your own risk.
*/
package com.google.api.services.toolresults.model;
/**
* Model definition for MemoryInfo.
*
* 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 Tool Results 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 MemoryInfo extends com.google.api.client.json.GenericJson {
/**
* Maximum memory that can be allocated to the process in KiB
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long memoryCapInKibibyte;
/**
* Total memory available on the device in KiB
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long memoryTotalInKibibyte;
/**
* Maximum memory that can be allocated to the process in KiB
* @return value or {@code null} for none
*/
public java.lang.Long getMemoryCapInKibibyte() {
return memoryCapInKibibyte;
}
/**
* Maximum memory that can be allocated to the process in KiB
* @param memoryCapInKibibyte memoryCapInKibibyte or {@code null} for none
*/
public MemoryInfo setMemoryCapInKibibyte(java.lang.Long memoryCapInKibibyte) {
this.memoryCapInKibibyte = memoryCapInKibibyte;
return this;
}
/**
* Total memory available on the device in KiB
* @return value or {@code null} for none
*/
public java.lang.Long getMemoryTotalInKibibyte() {
return memoryTotalInKibibyte;
}
/**
* Total memory available on the device in KiB
* @param memoryTotalInKibibyte memoryTotalInKibibyte or {@code null} for none
*/
public MemoryInfo setMemoryTotalInKibibyte(java.lang.Long memoryTotalInKibibyte) {
this.memoryTotalInKibibyte = memoryTotalInKibibyte;
return this;
}
@Override
public MemoryInfo set(String fieldName, Object value) {
return (MemoryInfo) super.set(fieldName, value);
}
@Override
public MemoryInfo clone() {
return (MemoryInfo) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy