public static final class Probe.ExecAction extends GeneratedMessageV3 implements Probe.ExecActionOrBuilder
ExecAction specifies a command to execute.
Protobuf type google.cloud.aiplatform.v1.Probe.ExecAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int COMMAND_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Probe.ExecAction getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Probe.ExecAction.Builder newBuilder()
public static Probe.ExecAction.Builder newBuilder(Probe.ExecAction prototype)
public static Probe.ExecAction parseDelimitedFrom(InputStream input)
public static Probe.ExecAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe.ExecAction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Probe.ExecAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Probe.ExecAction parseFrom(ByteString data)
public static Probe.ExecAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Probe.ExecAction parseFrom(CodedInputStream input)
public static Probe.ExecAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe.ExecAction parseFrom(InputStream input)
public static Probe.ExecAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe.ExecAction parseFrom(ByteBuffer data)
public static Probe.ExecAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Probe.ExecAction> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 Parser<Probe.ExecAction> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Probe.ExecAction.Builder newBuilderForType()
protected Probe.ExecAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Probe.ExecAction.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides