Class HealthCheckServiceReference.Builder (1.55.0)

public static final class HealthCheckServiceReference.Builder extends GeneratedMessageV3.Builder<HealthCheckServiceReference.Builder> implements HealthCheckServiceReferenceOrBuilder

A full or valid partial URL to a health check service. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service

Protobuf type google.cloud.compute.v1.HealthCheckServiceReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HealthCheckServiceReference build()
Returns
Type Description
HealthCheckServiceReference

buildPartial()

public HealthCheckServiceReference buildPartial()
Returns
Type Description
HealthCheckServiceReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

public HealthCheckServiceReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HealthCheckServiceReference.Builder
Overrides

clearHealthCheckService()

public HealthCheckServiceReference.Builder clearHealthCheckService()

optional string health_check_service = 408374747;

Returns
Type Description
HealthCheckServiceReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HealthCheckServiceReference getDefaultInstanceForType()
Returns
Type Description
HealthCheckServiceReference

getDescriptorForType()

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

getHealthCheckService()

public String getHealthCheckService()

optional string health_check_service = 408374747;

Returns
Type Description
String

The healthCheckService.

getHealthCheckServiceBytes()

public ByteString getHealthCheckServiceBytes()

optional string health_check_service = 408374747;

Returns
Type Description
ByteString

The bytes for healthCheckService.

hasHealthCheckService()

public boolean hasHealthCheckService()

optional string health_check_service = 408374747;

Returns
Type Description
boolean

Whether the healthCheckService field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HealthCheckServiceReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthCheckService(String value)

public HealthCheckServiceReference.Builder setHealthCheckService(String value)

optional string health_check_service = 408374747;

Parameter
Name Description
value String

The healthCheckService to set.

Returns
Type Description
HealthCheckServiceReference.Builder

This builder for chaining.

setHealthCheckServiceBytes(ByteString value)

public HealthCheckServiceReference.Builder setHealthCheckServiceBytes(ByteString value)

optional string health_check_service = 408374747;

Parameter
Name Description
value ByteString

The bytes for healthCheckService to set.

Returns
Type Description
HealthCheckServiceReference.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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