public final class Probe extends GeneratedMessageV3 implements ProbeOrBuilder
Probe describes a health check to be performed against a container to
determine whether it is alive or ready to receive traffic.
Protobuf type google.cloud.aiplatform.v1beta1.Probe
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 EXEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PERIOD_SECONDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIMEOUT_SECONDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Probe getDefaultInstance()
Returns |
---|
Type | Description |
Probe | |
public static final Descriptors.Descriptor getDescriptor()
public static Probe.Builder newBuilder()
public static Probe.Builder newBuilder(Probe prototype)
Parameter |
---|
Name | Description |
prototype | Probe
|
public static Probe parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(ByteString data)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(InputStream input)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Probe | |
public static Probe parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Probe | |
public static Parser<Probe> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Probe getDefaultInstanceForType()
Returns |
---|
Type | Description |
Probe | |
public Probe.ExecAction getExec()
Exec specifies the action to take.
.google.cloud.aiplatform.v1beta1.Probe.ExecAction exec = 1;
public Probe.ExecActionOrBuilder getExecOrBuilder()
Exec specifies the action to take.
.google.cloud.aiplatform.v1beta1.Probe.ExecAction exec = 1;
public Parser<Probe> getParserForType()
Overrides
public int getPeriodSeconds()
How often (in seconds) to perform the probe. Default to 10 seconds.
Minimum value is 1. Must be less than timeout_seconds.
Maps to Kubernetes probe argument 'periodSeconds'.
int32 period_seconds = 2;
Returns |
---|
Type | Description |
int | The periodSeconds.
|
public Probe.ProbeTypeCase getProbeTypeCase()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public int getTimeoutSeconds()
Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1. Must be greater or equal to period_seconds.
Maps to Kubernetes probe argument 'timeoutSeconds'.
int32 timeout_seconds = 3;
Returns |
---|
Type | Description |
int | The timeoutSeconds.
|
Exec specifies the action to take.
.google.cloud.aiplatform.v1beta1.Probe.ExecAction exec = 1;
Returns |
---|
Type | Description |
boolean | Whether the exec field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Probe.Builder newBuilderForType()
protected Probe.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Probe.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides