Package com.google.cloud.aiplatform.v1
Class Probe
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.Probe
- All Implemented Interfaces:
ProbeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Probe
extends com.google.protobuf.GeneratedMessage
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.v1.Probe- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProbe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.static final classExecAction specifies a command to execute.static interfacestatic final classGrpcAction checks the health of a container using a gRPC service.static interfacestatic final classHttpGetAction describes an action based on HTTP Get requests.static interfacestatic final classHttpHeader describes a custom header to be used in HTTP probesstatic interfacestatic enumstatic final classTcpSocketAction probes the health of a container by opening a TCP socket connection.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Probestatic final com.google.protobuf.Descriptors.DescriptorgetExec()ExecAction probes the health of a container by executing a command.ExecAction probes the health of a container by executing a command.intNumber of consecutive failures before the probe is considered failed.getGrpc()GrpcAction probes the health of a container by sending a gRPC request.GrpcAction probes the health of a container by sending a gRPC request.HttpGetAction probes the health of a container by sending an HTTP GET request.HttpGetAction probes the health of a container by sending an HTTP GET request.intNumber of seconds to wait before starting the probe.com.google.protobuf.Parser<Probe>intHow often (in seconds) to perform the probe.intintNumber of consecutive successes before the probe is considered successful.TcpSocketAction probes the health of a container by opening a TCP socket connection.TcpSocketAction probes the health of a container by opening a TCP socket connection.intNumber of seconds after which the probe times out.booleanhasExec()ExecAction probes the health of a container by executing a command.booleanhasGrpc()GrpcAction probes the health of a container by sending a gRPC request.inthashCode()booleanHttpGetAction probes the health of a container by sending an HTTP GET request.booleanTcpSocketAction probes the health of a container by opening a TCP socket connection.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Probe.Builderstatic Probe.BuildernewBuilder(Probe prototype) protected Probe.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ProbeparseDelimitedFrom(InputStream input) static ProbeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProbeparseFrom(byte[] data) static ProbeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProbeparseFrom(com.google.protobuf.ByteString data) static ProbeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProbeparseFrom(com.google.protobuf.CodedInputStream input) static ProbeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProbeparseFrom(InputStream input) static ProbeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProbeparseFrom(ByteBuffer data) static ProbeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Probe>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EXEC_FIELD_NUMBER
public static final int EXEC_FIELD_NUMBER- See Also:
-
HTTP_GET_FIELD_NUMBER
public static final int HTTP_GET_FIELD_NUMBER- See Also:
-
GRPC_FIELD_NUMBER
public static final int GRPC_FIELD_NUMBER- See Also:
-
TCP_SOCKET_FIELD_NUMBER
public static final int TCP_SOCKET_FIELD_NUMBER- See Also:
-
PERIOD_SECONDS_FIELD_NUMBER
public static final int PERIOD_SECONDS_FIELD_NUMBER- See Also:
-
TIMEOUT_SECONDS_FIELD_NUMBER
public static final int TIMEOUT_SECONDS_FIELD_NUMBER- See Also:
-
FAILURE_THRESHOLD_FIELD_NUMBER
public static final int FAILURE_THRESHOLD_FIELD_NUMBER- See Also:
-
SUCCESS_THRESHOLD_FIELD_NUMBER
public static final int SUCCESS_THRESHOLD_FIELD_NUMBER- See Also:
-
INITIAL_DELAY_SECONDS_FIELD_NUMBER
public static final int INITIAL_DELAY_SECONDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getProbeTypeCase
- Specified by:
getProbeTypeCasein interfaceProbeOrBuilder
-
hasExec
public boolean hasExec()ExecAction probes the health of a container by executing a command.
.google.cloud.aiplatform.v1.Probe.ExecAction exec = 1;- Specified by:
hasExecin interfaceProbeOrBuilder- Returns:
- Whether the exec field is set.
-
getExec
ExecAction probes the health of a container by executing a command.
.google.cloud.aiplatform.v1.Probe.ExecAction exec = 1;- Specified by:
getExecin interfaceProbeOrBuilder- Returns:
- The exec.
-
getExecOrBuilder
ExecAction probes the health of a container by executing a command.
.google.cloud.aiplatform.v1.Probe.ExecAction exec = 1;- Specified by:
getExecOrBuilderin interfaceProbeOrBuilder
-
hasHttpGet
public boolean hasHttpGet()HttpGetAction probes the health of a container by sending an HTTP GET request.
.google.cloud.aiplatform.v1.Probe.HttpGetAction http_get = 4;- Specified by:
hasHttpGetin interfaceProbeOrBuilder- Returns:
- Whether the httpGet field is set.
-
getHttpGet
HttpGetAction probes the health of a container by sending an HTTP GET request.
.google.cloud.aiplatform.v1.Probe.HttpGetAction http_get = 4;- Specified by:
getHttpGetin interfaceProbeOrBuilder- Returns:
- The httpGet.
-
getHttpGetOrBuilder
HttpGetAction probes the health of a container by sending an HTTP GET request.
.google.cloud.aiplatform.v1.Probe.HttpGetAction http_get = 4;- Specified by:
getHttpGetOrBuilderin interfaceProbeOrBuilder
-
hasGrpc
public boolean hasGrpc()GrpcAction probes the health of a container by sending a gRPC request.
.google.cloud.aiplatform.v1.Probe.GrpcAction grpc = 5;- Specified by:
hasGrpcin interfaceProbeOrBuilder- Returns:
- Whether the grpc field is set.
-
getGrpc
GrpcAction probes the health of a container by sending a gRPC request.
.google.cloud.aiplatform.v1.Probe.GrpcAction grpc = 5;- Specified by:
getGrpcin interfaceProbeOrBuilder- Returns:
- The grpc.
-
getGrpcOrBuilder
GrpcAction probes the health of a container by sending a gRPC request.
.google.cloud.aiplatform.v1.Probe.GrpcAction grpc = 5;- Specified by:
getGrpcOrBuilderin interfaceProbeOrBuilder
-
hasTcpSocket
public boolean hasTcpSocket()TcpSocketAction probes the health of a container by opening a TCP socket connection.
.google.cloud.aiplatform.v1.Probe.TcpSocketAction tcp_socket = 6;- Specified by:
hasTcpSocketin interfaceProbeOrBuilder- Returns:
- Whether the tcpSocket field is set.
-
getTcpSocket
TcpSocketAction probes the health of a container by opening a TCP socket connection.
.google.cloud.aiplatform.v1.Probe.TcpSocketAction tcp_socket = 6;- Specified by:
getTcpSocketin interfaceProbeOrBuilder- Returns:
- The tcpSocket.
-
getTcpSocketOrBuilder
TcpSocketAction probes the health of a container by opening a TCP socket connection.
.google.cloud.aiplatform.v1.Probe.TcpSocketAction tcp_socket = 6;- Specified by:
getTcpSocketOrBuilderin interfaceProbeOrBuilder
-
getPeriodSeconds
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;- Specified by:
getPeriodSecondsin interfaceProbeOrBuilder- Returns:
- The periodSeconds.
-
getTimeoutSeconds
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;- Specified by:
getTimeoutSecondsin interfaceProbeOrBuilder- Returns:
- The timeoutSeconds.
-
getFailureThreshold
public int getFailureThreshold()Number of consecutive failures before the probe is considered failed. Defaults to 3. Minimum value is 1. Maps to Kubernetes probe argument 'failureThreshold'.
int32 failure_threshold = 7;- Specified by:
getFailureThresholdin interfaceProbeOrBuilder- Returns:
- The failureThreshold.
-
getSuccessThreshold
public int getSuccessThreshold()Number of consecutive successes before the probe is considered successful. Defaults to 1. Minimum value is 1. Maps to Kubernetes probe argument 'successThreshold'.
int32 success_threshold = 8;- Specified by:
getSuccessThresholdin interfaceProbeOrBuilder- Returns:
- The successThreshold.
-
getInitialDelaySeconds
public int getInitialDelaySeconds()Number of seconds to wait before starting the probe. Defaults to 0. Minimum value is 0. Maps to Kubernetes probe argument 'initialDelaySeconds'.
int32 initial_delay_seconds = 9;- Specified by:
getInitialDelaySecondsin interfaceProbeOrBuilder- Returns:
- The initialDelaySeconds.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Probe parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Probe parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Probe parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Probe parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Probe parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Probe parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Probe parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Probe parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Probe parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-