Package namespace.cloud.compute.v1beta
Class Compute.ApplicationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ApplicationRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
namespace.cloud.compute.v1beta.Compute.ApplicationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.ApplicationRequestOrBuilder
- Enclosing class:
Compute.ApplicationRequest
public static final class Compute.ApplicationRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
implements Compute.ApplicationRequestOrBuilder
Specifies an application to run on an instance without containerization. The application binary is distributed as a container image (OCI) pushed to the workspace's private registry (`nscr.io`). Only the image filesystem is used; ENTRYPOINT/CMD from the image config are not respected. **Example** (macOS): [macrun](https://github.com/namespacelabs/examples/tree/master/go/macrun).Protobuf type
namespace.cloud.compute.v1beta.ApplicationRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllArgs(Iterable<String> values) A set of arguments to pass to the application.addAllEnvVars(Iterable<? extends Compute.EnvironmentVariable> values) A set of environment values to be used as the container's environment.A set of arguments to pass to the application.addArgsBytes(com.google.protobuf.ByteString value) A set of arguments to pass to the application.addEnvVars(int index, Compute.EnvironmentVariable value) A set of environment values to be used as the container's environment.addEnvVars(int index, Compute.EnvironmentVariable.Builder builderForValue) A set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.addEnvVars(Compute.EnvironmentVariable.Builder builderForValue) A set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.addEnvVarsBuilder(int index) A set of environment values to be used as the container's environment.build()clear()A set of arguments to pass to the application.Command to execute.A set of environment values to be used as the container's environment.A list of experimental features to enable in this container.Optional image with application distribution to be mounted on the instance.A name of the application being created.When a container terminates, the instance where it runs in will also terminate.booleanA set of environment values to be used as the container's environment.getArgs(int index) A set of arguments to pass to the application.com.google.protobuf.ByteStringgetArgsBytes(int index) A set of arguments to pass to the application.intA set of arguments to pass to the application.com.google.protobuf.ProtocolStringListA set of arguments to pass to the application.Command to execute.com.google.protobuf.ByteStringCommand to execute.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intA set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.getEnvironmentOrDefault(String key, String defaultValue) A set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.getEnvVars(int index) A set of environment values to be used as the container's environment.getEnvVarsBuilder(int index) A set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.intA set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.getEnvVarsOrBuilder(int index) A set of environment values to be used as the container's environment.List<? extends Compute.EnvironmentVariableOrBuilder> A set of environment values to be used as the container's environment.A list of experimental features to enable in this container.A list of experimental features to enable in this container.A list of experimental features to enable in this container.Optional image with application distribution to be mounted on the instance.com.google.protobuf.ByteStringOptional image with application distribution to be mounted on the instance.Deprecated.getName()A name of the application being created.com.google.protobuf.ByteStringA name of the application being created.When a container terminates, the instance where it runs in will also terminate.intWhen a container terminates, the instance where it runs in will also terminate.booleanA list of experimental features to enable in this container.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanA list of experimental features to enable in this container.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllEnvironment(Map<String, String> values) A set of environment values to be used as the container's environment.putEnvironment(String key, String value) A set of environment values to be used as the container's environment.removeEnvironment(String key) A set of environment values to be used as the container's environment.removeEnvVars(int index) A set of environment values to be used as the container's environment.A set of arguments to pass to the application.setCommand(String value) Command to execute.setCommandBytes(com.google.protobuf.ByteString value) Command to execute.setEnvVars(int index, Compute.EnvironmentVariable value) A set of environment values to be used as the container's environment.setEnvVars(int index, Compute.EnvironmentVariable.Builder builderForValue) A set of environment values to be used as the container's environment.A list of experimental features to enable in this container.setExperimental(Compute.ApplicationRequest.ExperimentalFeatures.Builder builderForValue) A list of experimental features to enable in this container.setImageRef(String value) Optional image with application distribution to be mounted on the instance.setImageRefBytes(com.google.protobuf.ByteString value) Optional image with application distribution to be mounted on the instance.A name of the application being created.setNameBytes(com.google.protobuf.ByteString value) A name of the application being created.When a container terminates, the instance where it runs in will also terminate.setWorkloadTypeValue(int value) When a container terminates, the instance where it runs in will also terminate.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ApplicationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder>
-
mergeFrom
public Compute.ApplicationRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ApplicationRequest.Builder>- Throws:
IOException
-
getName
A name of the application being created. Must be unique.
string name = 1;- Specified by:
getNamein interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A name of the application being created. Must be unique.
string name = 1;- Specified by:
getNameBytesin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The bytes for name.
-
setName
A name of the application being created. Must be unique.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
A name of the application being created. Must be unique.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
A name of the application being created. Must be unique.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getImageRef
Optional image with application distribution to be mounted on the instance. The image filesystem is extracted and made available to the `command` below. ENTRYPOINT/CMD specified in the image config are not respected. Example: `nscr.io/abc012abc012/foobar`
string image_ref = 2;- Specified by:
getImageRefin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The imageRef.
-
getImageRefBytes
public com.google.protobuf.ByteString getImageRefBytes()Optional image with application distribution to be mounted on the instance. The image filesystem is extracted and made available to the `command` below. ENTRYPOINT/CMD specified in the image config are not respected. Example: `nscr.io/abc012abc012/foobar`
string image_ref = 2;- Specified by:
getImageRefBytesin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The bytes for imageRef.
-
setImageRef
Optional image with application distribution to be mounted on the instance. The image filesystem is extracted and made available to the `command` below. ENTRYPOINT/CMD specified in the image config are not respected. Example: `nscr.io/abc012abc012/foobar`
string image_ref = 2;- Parameters:
value- The imageRef to set.- Returns:
- This builder for chaining.
-
clearImageRef
Optional image with application distribution to be mounted on the instance. The image filesystem is extracted and made available to the `command` below. ENTRYPOINT/CMD specified in the image config are not respected. Example: `nscr.io/abc012abc012/foobar`
string image_ref = 2;- Returns:
- This builder for chaining.
-
setImageRefBytes
Optional image with application distribution to be mounted on the instance. The image filesystem is extracted and made available to the `command` below. ENTRYPOINT/CMD specified in the image config are not respected. Example: `nscr.io/abc012abc012/foobar`
string image_ref = 2;- Parameters:
value- The bytes for imageRef to set.- Returns:
- This builder for chaining.
-
getCommand
Command to execute. May be: * Absolute (refers to a pre-installed binary in the base image). Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`. * Relative to the image specified above. Example: `./postgres`. * Resolved from $PATH (using the default $PATH of the base image) Example: `xcrun`.
string command = 14;- Specified by:
getCommandin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()Command to execute. May be: * Absolute (refers to a pre-installed binary in the base image). Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`. * Relative to the image specified above. Example: `./postgres`. * Resolved from $PATH (using the default $PATH of the base image) Example: `xcrun`.
string command = 14;- Specified by:
getCommandBytesin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The bytes for command.
-
setCommand
Command to execute. May be: * Absolute (refers to a pre-installed binary in the base image). Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`. * Relative to the image specified above. Example: `./postgres`. * Resolved from $PATH (using the default $PATH of the base image) Example: `xcrun`.
string command = 14;- Parameters:
value- The command to set.- Returns:
- This builder for chaining.
-
clearCommand
Command to execute. May be: * Absolute (refers to a pre-installed binary in the base image). Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`. * Relative to the image specified above. Example: `./postgres`. * Resolved from $PATH (using the default $PATH of the base image) Example: `xcrun`.
string command = 14;- Returns:
- This builder for chaining.
-
setCommandBytes
Command to execute. May be: * Absolute (refers to a pre-installed binary in the base image). Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`. * Relative to the image specified above. Example: `./postgres`. * Resolved from $PATH (using the default $PATH of the base image) Example: `xcrun`.
string command = 14;- Parameters:
value- The bytes for command to set.- Returns:
- This builder for chaining.
-
getArgsList
public com.google.protobuf.ProtocolStringList getArgsList()A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsListin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsCountin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The count of args.
-
getArgs
A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsin interfaceCompute.ApplicationRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
public com.google.protobuf.ByteString getArgsBytes(int index) A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsBytesin interfaceCompute.ApplicationRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
setArgs
A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Parameters:
index- The index to set the value at.value- The args to set.- Returns:
- This builder for chaining.
-
addArgs
A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Parameters:
value- The args to add.- Returns:
- This builder for chaining.
-
addAllArgs
A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Parameters:
values- The args to add.- Returns:
- This builder for chaining.
-
clearArgs
A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Returns:
- This builder for chaining.
-
addArgsBytes
A set of arguments to pass to the application. Example: `["--foobar"]`
repeated string args = 3;- Parameters:
value- The bytes of the args to add.- Returns:
- This builder for chaining.
-
getEnvironmentCount
public int getEnvironmentCount()Description copied from interface:Compute.ApplicationRequestOrBuilderA set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentCountin interfaceCompute.ApplicationRequestOrBuilder
-
containsEnvironment
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
containsEnvironmentin interfaceCompute.ApplicationRequestOrBuilder
-
getEnvironment
Deprecated.UsegetEnvironmentMap()instead.- Specified by:
getEnvironmentin interfaceCompute.ApplicationRequestOrBuilder
-
getEnvironmentMap
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentMapin interfaceCompute.ApplicationRequestOrBuilder
-
getEnvironmentOrDefault
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentOrDefaultin interfaceCompute.ApplicationRequestOrBuilder
-
getEnvironmentOrThrow
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentOrThrowin interfaceCompute.ApplicationRequestOrBuilder
-
clearEnvironment
-
removeEnvironment
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4; -
getMutableEnvironment
Deprecated.Use alternate mutation accessors instead. -
putEnvironment
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4; -
putAllEnvironment
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4; -
getEnvVarsList
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;- Specified by:
getEnvVarsListin interfaceCompute.ApplicationRequestOrBuilder
-
getEnvVarsCount
public int getEnvVarsCount()A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;- Specified by:
getEnvVarsCountin interfaceCompute.ApplicationRequestOrBuilder
-
getEnvVars
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;- Specified by:
getEnvVarsin interfaceCompute.ApplicationRequestOrBuilder
-
setEnvVars
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
setEnvVars
public Compute.ApplicationRequest.Builder setEnvVars(int index, Compute.EnvironmentVariable.Builder builderForValue) A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
addEnvVars
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
addEnvVars
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
addEnvVars
public Compute.ApplicationRequest.Builder addEnvVars(Compute.EnvironmentVariable.Builder builderForValue) A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
addEnvVars
public Compute.ApplicationRequest.Builder addEnvVars(int index, Compute.EnvironmentVariable.Builder builderForValue) A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
addAllEnvVars
public Compute.ApplicationRequest.Builder addAllEnvVars(Iterable<? extends Compute.EnvironmentVariable> values) A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
clearEnvVars
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
removeEnvVars
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
getEnvVarsBuilder
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
getEnvVarsOrBuilder
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;- Specified by:
getEnvVarsOrBuilderin interfaceCompute.ApplicationRequestOrBuilder
-
getEnvVarsOrBuilderList
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;- Specified by:
getEnvVarsOrBuilderListin interfaceCompute.ApplicationRequestOrBuilder
-
addEnvVarsBuilder
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
addEnvVarsBuilder
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
getEnvVarsBuilderList
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15; -
getWorkloadTypeValue
public int getWorkloadTypeValue()When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container.
.namespace.cloud.compute.v1beta.ApplicationRequest.WorkloadType workload_type = 13;- Specified by:
getWorkloadTypeValuein interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The enum numeric value on the wire for workloadType.
-
setWorkloadTypeValue
When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container.
.namespace.cloud.compute.v1beta.ApplicationRequest.WorkloadType workload_type = 13;- Parameters:
value- The enum numeric value on the wire for workloadType to set.- Returns:
- This builder for chaining.
-
getWorkloadType
When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container.
.namespace.cloud.compute.v1beta.ApplicationRequest.WorkloadType workload_type = 13;- Specified by:
getWorkloadTypein interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The workloadType.
-
setWorkloadType
public Compute.ApplicationRequest.Builder setWorkloadType(Compute.ApplicationRequest.WorkloadType value) When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container.
.namespace.cloud.compute.v1beta.ApplicationRequest.WorkloadType workload_type = 13;- Parameters:
value- The workloadType to set.- Returns:
- This builder for chaining.
-
clearWorkloadType
When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container.
.namespace.cloud.compute.v1beta.ApplicationRequest.WorkloadType workload_type = 13;- Returns:
- This builder for chaining.
-
hasExperimental
public boolean hasExperimental()A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10;- Specified by:
hasExperimentalin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- Whether the experimental field is set.
-
getExperimental
A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10;- Specified by:
getExperimentalin interfaceCompute.ApplicationRequestOrBuilder- Returns:
- The experimental.
-
setExperimental
public Compute.ApplicationRequest.Builder setExperimental(Compute.ApplicationRequest.ExperimentalFeatures value) A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10; -
setExperimental
public Compute.ApplicationRequest.Builder setExperimental(Compute.ApplicationRequest.ExperimentalFeatures.Builder builderForValue) A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10; -
mergeExperimental
public Compute.ApplicationRequest.Builder mergeExperimental(Compute.ApplicationRequest.ExperimentalFeatures value) A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10; -
clearExperimental
A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10; -
getExperimentalBuilder
A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10; -
getExperimentalOrBuilder
A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10;- Specified by:
getExperimentalOrBuilderin interfaceCompute.ApplicationRequestOrBuilder
-