Class GetHealthCheckRequest.Builder (1.93.0)

public static final class GetHealthCheckRequest.Builder extends GeneratedMessage.Builder<GetHealthCheckRequest.Builder> implements GetHealthCheckRequestOrBuilder

A request message for HealthChecks.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetHealthCheckRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetHealthCheckRequest build()
Returns
Type Description
GetHealthCheckRequest

buildPartial()

public GetHealthCheckRequest buildPartial()
Returns
Type Description
GetHealthCheckRequest

clear()

public GetHealthCheckRequest.Builder clear()
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides

clearHealthCheck()

public GetHealthCheckRequest.Builder clearHealthCheck()

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthCheckRequest.Builder

This builder for chaining.

clearProject()

public GetHealthCheckRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthCheckRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetHealthCheckRequest getDefaultInstanceForType()
Returns
Type Description
GetHealthCheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHealthCheck()

public String getHealthCheck()

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The healthCheck.

getHealthCheckBytes()

public ByteString getHealthCheckBytes()

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for healthCheck.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetHealthCheckRequest other)

public GetHealthCheckRequest.Builder mergeFrom(GetHealthCheckRequest other)
Parameter
Name Description
other GetHealthCheckRequest
Returns
Type Description
GetHealthCheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetHealthCheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetHealthCheckRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides

setHealthCheck(String value)

public GetHealthCheckRequest.Builder setHealthCheck(String value)

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The healthCheck to set.

Returns
Type Description
GetHealthCheckRequest.Builder

This builder for chaining.

setHealthCheckBytes(ByteString value)

public GetHealthCheckRequest.Builder setHealthCheckBytes(ByteString value)

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for healthCheck to set.

Returns
Type Description
GetHealthCheckRequest.Builder

This builder for chaining.

setProject(String value)

public GetHealthCheckRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetHealthCheckRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetHealthCheckRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetHealthCheckRequest.Builder

This builder for chaining.