public final class Sidecar
extends com.google.api.client.json.GenericJson
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 Build API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| Sidecar() | 
| Modifier and Type | Method and Description | 
|---|---|
| Sidecar | clone() | 
| List<String> | getArgs()Arguments to the entrypoint. | 
| List<String> | getCommand()Entrypoint array. | 
| List<EnvVar> | getEnv()List of environment variables to set in the container. | 
| String | getImage()Docker image name. | 
| String | getName()Name of the Sidecar. | 
| Probe | getReadinessProbe()Optional. | 
| String | getScript()The contents of an executable file to execute. | 
| SecurityContext | getSecurityContext()Optional. | 
| List<VolumeMount> | getVolumeMounts()Pod volumes to mount into the container's filesystem. | 
| String | getWorkingDir()Container's working directory. | 
| Sidecar | set(String fieldName,
   Object value) | 
| Sidecar | setArgs(List<String> args)Arguments to the entrypoint. | 
| Sidecar | setCommand(List<String> command)Entrypoint array. | 
| Sidecar | setEnv(List<EnvVar> env)List of environment variables to set in the container. | 
| Sidecar | setImage(String image)Docker image name. | 
| Sidecar | setName(String name)Name of the Sidecar. | 
| Sidecar | setReadinessProbe(Probe readinessProbe)Optional. | 
| Sidecar | setScript(String script)The contents of an executable file to execute. | 
| Sidecar | setSecurityContext(SecurityContext securityContext)Optional. | 
| Sidecar | setVolumeMounts(List<VolumeMount> volumeMounts)Pod volumes to mount into the container's filesystem. | 
| Sidecar | setWorkingDir(String workingDir)Container's working directory. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Sidecar setArgs(List<String> args)
args - args or null for nonepublic Sidecar setCommand(List<String> command)
command - command or null for nonepublic List<EnvVar> getEnv()
null for nonepublic Sidecar setEnv(List<EnvVar> env)
env - env or null for nonepublic String getImage()
null for nonepublic Sidecar setImage(String image)
image - image or null for nonepublic String getName()
null for nonepublic Sidecar setName(String name)
name - name or null for nonepublic Probe getReadinessProbe()
null for nonepublic Sidecar setReadinessProbe(Probe readinessProbe)
readinessProbe - readinessProbe or null for nonepublic String getScript()
null for nonepublic Sidecar setScript(String script)
script - script or null for nonepublic SecurityContext getSecurityContext()
null for nonepublic Sidecar setSecurityContext(SecurityContext securityContext)
securityContext - securityContext or null for nonepublic List<VolumeMount> getVolumeMounts()
null for nonepublic Sidecar setVolumeMounts(List<VolumeMount> volumeMounts)
volumeMounts - volumeMounts or null for nonepublic String getWorkingDir()
null for nonepublic Sidecar setWorkingDir(String workingDir)
workingDir - workingDir or null for nonepublic Sidecar set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Sidecar clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.