public static final class Probe.ExecAction.Builder extends GeneratedMessageV3.Builder<Probe.ExecAction.Builder> implements Probe.ExecActionOrBuilder
ExecAction specifies a command to execute.
Protobuf type google.cloud.aiplatform.v1.Probe.ExecAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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;
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;
Parameter |
Name |
Description |
value |
String
The command to add.
|
public Probe.ExecAction.Builder addCommandBytes(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;
Parameter |
Name |
Description |
value |
ByteString
The bytes of the command to add.
|
public Probe.ExecAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Probe.ExecAction build()
public Probe.ExecAction buildPartial()
public Probe.ExecAction.Builder clear()
Overrides
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 clearField(Descriptors.FieldDescriptor field)
Overrides
public Probe.ExecAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Probe.ExecAction.Builder clone()
Overrides
public 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;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The command at the given index.
|
public 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;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the command at the given index.
|
public 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;
Returns |
Type |
Description |
int |
The count of command.
|
public 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;
public Probe.ExecAction getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Probe.ExecAction.Builder mergeFrom(Probe.ExecAction other)
public Probe.ExecAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Probe.ExecAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Probe.ExecAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The command to set.
|
public Probe.ExecAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Probe.ExecAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Probe.ExecAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides