Class HealthCheckServiceReference.Builder (1.45.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public HealthCheckServiceReference build()
Returns
TypeDescription
HealthCheckServiceReference

buildPartial()

public HealthCheckServiceReference buildPartial()
Returns
TypeDescription
HealthCheckServiceReference

clear()

public HealthCheckServiceReference.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clone()

public HealthCheckServiceReference.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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