Class GetHealthCheckRequest.Builder (1.63.0)

public static final class GetHealthCheckRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetHealthCheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GetHealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetHealthCheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetHealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetHealthCheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetHealthCheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetHealthCheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetHealthCheckRequest.Builder
Overrides