Class Probe.ExecAction (3.41.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Probe.ExecAction getDefaultInstance()
Returns
TypeDescription
Probe.ExecAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Probe.ExecAction.Builder newBuilder()
Returns
TypeDescription
Probe.ExecAction.Builder

newBuilder(Probe.ExecAction prototype)

public static Probe.ExecAction.Builder newBuilder(Probe.ExecAction prototype)
Parameter
NameDescription
prototypeProbe.ExecAction
Returns
TypeDescription
Probe.ExecAction.Builder

parseDelimitedFrom(InputStream input)

public static Probe.ExecAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Probe.ExecAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Probe.ExecAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Probe.ExecAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Probe.ExecAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Probe.ExecAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Probe.ExecAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Probe.ExecAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the command.

getDefaultInstanceForType()

public Probe.ExecAction getDefaultInstanceForType()
Returns
TypeDescription
Probe.ExecAction

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Probe.ExecAction.Builder newBuilderForType()
Returns
TypeDescription
Probe.ExecAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Probe.ExecAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Probe.ExecAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Probe.ExecAction.Builder toBuilder()
Returns
TypeDescription
Probe.ExecAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException