public static final class Probe.GrpcAction.Builder extends GeneratedMessage.Builder<Probe.GrpcAction.Builder> implements Probe.GrpcActionOrBuilderGrpcAction checks the health of a container using a gRPC service.
Protobuf type google.cloud.aiplatform.v1.Probe.GrpcAction
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Probe.GrpcAction.BuilderImplements
Probe.GrpcActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Probe.GrpcAction build()| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction |
|
buildPartial()
public Probe.GrpcAction buildPartial()| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction |
|
clear()
public Probe.GrpcAction.Builder clear()| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
|
clearPort()
public Probe.GrpcAction.Builder clearPort()Port number of the gRPC service. Number must be in the range 1 to 65535.
int32 port = 1;
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
This builder for chaining. |
clearService()
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;
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Probe.GrpcAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPort()
public int getPort()Port number of the gRPC service. Number must be in the range 1 to 65535.
int32 port = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The port. |
getService()
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;
| Returns | |
|---|---|
| Type | Description |
String |
The service. |
getServiceBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for service. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Probe.GrpcAction other)
public Probe.GrpcAction.Builder mergeFrom(Probe.GrpcAction other)| Parameter | |
|---|---|
| Name | Description |
other |
Probe.GrpcAction |
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Probe.GrpcAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Probe.GrpcAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
|
setPort(int value)
public Probe.GrpcAction.Builder setPort(int value)Port number of the gRPC service. Number must be in the range 1 to 65535.
int32 port = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
This builder for chaining. |
setService(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe service to set. |
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
This builder for chaining. |
setServiceBytes(ByteString value)
public Probe.GrpcAction.Builder setServiceBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for service to set. |
| Returns | |
|---|---|
| Type | Description |
Probe.GrpcAction.Builder |
This builder for chaining. |