public static final class Probe.ExecAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<Probe.ExecAction.Builder> implements Probe.ExecActionOrBuilder
ExecAction specifies a command to execute.Protobuf type
google.cloud.aiplatform.v1.Probe.ExecAction| Modifier and Type | Method and Description |
|---|---|
Probe.ExecAction.Builder |
addAllCommand(Iterable<String> values)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
Probe.ExecAction.Builder |
addCommand(String value)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
Probe.ExecAction.Builder |
addCommandBytes(com.google.protobuf.ByteString value)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
Probe.ExecAction |
build() |
Probe.ExecAction |
buildPartial() |
Probe.ExecAction.Builder |
clear() |
Probe.ExecAction.Builder |
clearCommand()
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
String |
getCommand(int index)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
com.google.protobuf.ByteString |
getCommandBytes(int index)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
int |
getCommandCount()
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
com.google.protobuf.ProtocolStringList |
getCommandList()
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
Probe.ExecAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Probe.ExecAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Probe.ExecAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
Probe.ExecAction.Builder |
mergeFrom(Probe.ExecAction other) |
Probe.ExecAction.Builder |
setCommand(int index,
String value)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Probe.ExecAction.Builder>public Probe.ExecAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Probe.ExecAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Probe.ExecAction.Builder>public Probe.ExecAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Probe.ExecAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Probe.ExecAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Probe.ExecAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Probe.ExecAction.Builder>public Probe.ExecAction.Builder mergeFrom(Probe.ExecAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Probe.ExecAction.Builder>public Probe.ExecAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Probe.ExecAction.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getCommandList()
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;getCommandList in interface Probe.ExecActionOrBuilderpublic int getCommandCount()
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;getCommandCount in interface Probe.ExecActionOrBuilderpublic String getCommand(int index)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;getCommand in interface Probe.ExecActionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCommandBytes(int index)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;getCommandBytes in interface Probe.ExecActionOrBuilderindex - The index of the value to return.public Probe.ExecAction.Builder setCommand(int index, String value)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;index - The index to set the value at.value - The command to set.public Probe.ExecAction.Builder addCommand(String value)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;value - The command to add.public Probe.ExecAction.Builder addAllCommand(Iterable<String> values)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;values - The command to add.public Probe.ExecAction.Builder clearCommand()
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;public Probe.ExecAction.Builder addCommandBytes(com.google.protobuf.ByteString value)
Command is the command line to execute inside the container, the working
directory for the command is root ('/') in the container's filesystem.
The command is simply exec'd, it is not run inside a shell, so
traditional shell instructions ('|', etc) won't work. To use a shell, you
need to explicitly call out to that shell. Exit status of 0 is treated as
live/healthy and non-zero is unhealthy.
repeated string command = 1;value - The bytes of the command to add.Copyright © 2026 Google LLC. All rights reserved.