Class HealthCheckServiceReference.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HealthCheckServiceReference build()
Returns
TypeDescription
HealthCheckServiceReference

buildPartial()

public HealthCheckServiceReference buildPartial()
Returns
TypeDescription
HealthCheckServiceReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

public HealthCheckServiceReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HealthCheckServiceReference.Builder
Overrides

clearHealthCheckService()

public HealthCheckServiceReference.Builder clearHealthCheckService()

optional string health_check_service = 408374747;

Returns
TypeDescription
HealthCheckServiceReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HealthCheckServiceReference getDefaultInstanceForType()
Returns
TypeDescription
HealthCheckServiceReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHealthCheckService()

public String getHealthCheckService()

optional string health_check_service = 408374747;

Returns
TypeDescription
String

The healthCheckService.

getHealthCheckServiceBytes()

public ByteString getHealthCheckServiceBytes()

optional string health_check_service = 408374747;

Returns
TypeDescription
ByteString

The bytes for healthCheckService.

hasHealthCheckService()

public boolean hasHealthCheckService()

optional string health_check_service = 408374747;

Returns
TypeDescription
boolean

Whether the healthCheckService field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HealthCheckServiceReference other)

public HealthCheckServiceReference.Builder mergeFrom(HealthCheckServiceReference other)
Parameter
NameDescription
otherHealthCheckServiceReference
Returns
TypeDescription
HealthCheckServiceReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthCheckService(String value)

public HealthCheckServiceReference.Builder setHealthCheckService(String value)

optional string health_check_service = 408374747;

Parameter
NameDescription
valueString

The healthCheckService to set.

Returns
TypeDescription
HealthCheckServiceReference.Builder

This builder for chaining.

setHealthCheckServiceBytes(ByteString value)

public HealthCheckServiceReference.Builder setHealthCheckServiceBytes(ByteString value)

optional string health_check_service = 408374747;

Parameter
NameDescription
valueByteString

The bytes for healthCheckService to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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