public static final class Probe.GrpcAction.Builder extends com.google.protobuf.GeneratedMessageV3.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Probe.GrpcAction |
build() |
Probe.GrpcAction |
buildPartial() |
Probe.GrpcAction.Builder |
clear() |
Probe.GrpcAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Probe.GrpcAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Probe.GrpcAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Probe.GrpcAction.Builder |
setPort(int value)
Port number of the gRPC service.
|
Probe.GrpcAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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).
|
Probe.GrpcAction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>public Probe.GrpcAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>public 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.GeneratedMessageV3.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.public final Probe.GrpcAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>public final Probe.GrpcAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Probe.GrpcAction.Builder>Copyright © 2025 Google LLC. All rights reserved.