com.google.api.services.migrationcenter.v1.model.RunningProcess Maven / Gradle / Ivy
/*
* 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.migrationcenter.v1.model;
/**
* Guest OS running process details.
*
* 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 Migration Center 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 RunningProcess extends com.google.api.client.json.GenericJson {
/**
* Process extended attributes.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map attributes;
/**
* Process full command line.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String cmdline;
/**
* Process binary path.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String exePath;
/**
* Process ID.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long pid;
/**
* User running the process.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String user;
/**
* Process extended attributes.
* @return value or {@code null} for none
*/
public java.util.Map getAttributes() {
return attributes;
}
/**
* Process extended attributes.
* @param attributes attributes or {@code null} for none
*/
public RunningProcess setAttributes(java.util.Map attributes) {
this.attributes = attributes;
return this;
}
/**
* Process full command line.
* @return value or {@code null} for none
*/
public java.lang.String getCmdline() {
return cmdline;
}
/**
* Process full command line.
* @param cmdline cmdline or {@code null} for none
*/
public RunningProcess setCmdline(java.lang.String cmdline) {
this.cmdline = cmdline;
return this;
}
/**
* Process binary path.
* @return value or {@code null} for none
*/
public java.lang.String getExePath() {
return exePath;
}
/**
* Process binary path.
* @param exePath exePath or {@code null} for none
*/
public RunningProcess setExePath(java.lang.String exePath) {
this.exePath = exePath;
return this;
}
/**
* Process ID.
* @return value or {@code null} for none
*/
public java.lang.Long getPid() {
return pid;
}
/**
* Process ID.
* @param pid pid or {@code null} for none
*/
public RunningProcess setPid(java.lang.Long pid) {
this.pid = pid;
return this;
}
/**
* User running the process.
* @return value or {@code null} for none
*/
public java.lang.String getUser() {
return user;
}
/**
* User running the process.
* @param user user or {@code null} for none
*/
public RunningProcess setUser(java.lang.String user) {
this.user = user;
return this;
}
@Override
public RunningProcess set(String fieldName, Object value) {
return (RunningProcess) super.set(fieldName, value);
}
@Override
public RunningProcess clone() {
return (RunningProcess) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy