Class GetHealthCheckRequest.Builder (1.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetHealthCheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides

build()

public GetHealthCheckRequest build()
Returns
TypeDescription
GetHealthCheckRequest

buildPartial()

public GetHealthCheckRequest buildPartial()
Returns
TypeDescription
GetHealthCheckRequest

clear()

public GetHealthCheckRequest.Builder clear()
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetHealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetHealthCheckRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetHealthCheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides

clearProject()

public GetHealthCheckRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetHealthCheckRequest.Builder

This builder for chaining.

clone()

public GetHealthCheckRequest.Builder clone()
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides

getDefaultInstanceForType()

public GetHealthCheckRequest getDefaultInstanceForType()
Returns
TypeDescription
GetHealthCheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHealthCheck()

public String getHealthCheck()

Name of the HealthCheck resource to return.

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

Returns
TypeDescription
String

The healthCheck.

getHealthCheckBytes()

public ByteString getHealthCheckBytes()

Name of the HealthCheck resource to return.

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

Returns
TypeDescription
ByteString

The bytes for healthCheck.

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
ByteString

The bytes for project.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetHealthCheckRequest other)

public GetHealthCheckRequest.Builder mergeFrom(GetHealthCheckRequest other)
Parameter
NameDescription
otherGetHealthCheckRequest
Returns
TypeDescription
GetHealthCheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetHealthCheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetHealthCheckRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetHealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetHealthCheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The healthCheck to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for healthCheck to set.

Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetHealthCheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetHealthCheckRequest.Builder
Overrides