Class Probe.ExecAction (3.46.0)

public static final class Probe.ExecAction extends GeneratedMessageV3 implements Probe.ExecActionOrBuilder

ExecAction specifies a command to execute.

Protobuf type google.cloud.aiplatform.v1beta1.Probe.ExecAction

Static Fields

COMMAND_FIELD_NUMBER

public static final int COMMAND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Probe.ExecAction getDefaultInstance()
Returns
Type Description
Probe.ExecAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Probe.ExecAction.Builder newBuilder()
Returns
Type Description
Probe.ExecAction.Builder

newBuilder(Probe.ExecAction prototype)

public static Probe.ExecAction.Builder newBuilder(Probe.ExecAction prototype)
Parameter
Name Description
prototype Probe.ExecAction
Returns
Type Description
Probe.ExecAction.Builder

parseDelimitedFrom(InputStream input)

public static Probe.ExecAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Probe.ExecAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Probe.ExecAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Probe.ExecAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Probe.ExecAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Probe.ExecAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Probe.ExecAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Probe.ExecAction> parser()
Returns
Type Description
Parser<ExecAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommand(int index)

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.

getCommandBytes(int 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.

getCommandCount()

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.

getCommandList()

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;

Returns
Type Description
ProtocolStringList

A list containing the command.

getDefaultInstanceForType()

public Probe.ExecAction getDefaultInstanceForType()
Returns
Type Description
Probe.ExecAction

getParserForType()

public Parser<Probe.ExecAction> getParserForType()
Returns
Type Description
Parser<ExecAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Probe.ExecAction.Builder newBuilderForType()
Returns
Type Description
Probe.ExecAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Probe.ExecAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Probe.ExecAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Probe.ExecAction.Builder toBuilder()
Returns
Type Description
Probe.ExecAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException