public static final class Probe.GrpcAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<Probe.GrpcAction.Builder> implements Probe.GrpcActionOrBuilder
GrpcAction checks the health of a container using a gRPC service.Protobuf type
google.cloud.aiplatform.v1.Probe.GrpcAction| Modifier and Type | Method and Description |
|---|---|
Probe.GrpcAction |
build() |
Probe.GrpcAction |
buildPartial() |
Probe.GrpcAction.Builder |
clear() |
Probe.GrpcAction.Builder |
clearPort()
Port number of the gRPC service.
|
Probe.GrpcAction.Builder |
clearService()
Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
Probe.GrpcAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPort()
Port number of the gRPC service.
|
String |
getService()
Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
com.google.protobuf.ByteString |
getServiceBytes()
Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Probe.GrpcAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Probe.GrpcAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
Probe.GrpcAction.Builder |
mergeFrom(Probe.GrpcAction other) |
Probe.GrpcAction.Builder |
setPort(int value)
Port number of the gRPC service.
|
Probe.GrpcAction.Builder |
setService(String value)
Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
Probe.GrpcAction.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
Service is the name of the service to place in the gRPC
HealthCheckRequest (see
https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Probe.GrpcAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Probe.GrpcAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Probe.GrpcAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Probe.GrpcAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder mergeFrom(Probe.GrpcAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Probe.GrpcAction.Builder>IOExceptionpublic int getPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
int32 port = 1;getPort in interface Probe.GrpcActionOrBuilderpublic Probe.GrpcAction.Builder setPort(int value)
Port number of the gRPC service. Number must be in the range 1 to 65535.
int32 port = 1;value - The port to set.public Probe.GrpcAction.Builder clearPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
int32 port = 1;public String getService()
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
string service = 2;getService in interface Probe.GrpcActionOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
string service = 2;getServiceBytes in interface Probe.GrpcActionOrBuilderpublic Probe.GrpcAction.Builder setService(String value)
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
string service = 2;value - The service to set.public Probe.GrpcAction.Builder clearService()
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
string service = 2;public Probe.GrpcAction.Builder setServiceBytes(com.google.protobuf.ByteString value)
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.
string service = 2;value - The bytes for service to set.Copyright © 2026 Google LLC. All rights reserved.