Class HealthCheckServiceReference (1.31.0)

public final class HealthCheckServiceReference extends GeneratedMessageV3 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 Fields

HEALTH_CHECK_SERVICE_FIELD_NUMBER

public static final int HEALTH_CHECK_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HealthCheckServiceReference getDefaultInstance()
Returns
TypeDescription
HealthCheckServiceReference

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HealthCheckServiceReference.Builder newBuilder()
Returns
TypeDescription
HealthCheckServiceReference.Builder

newBuilder(HealthCheckServiceReference prototype)

public static HealthCheckServiceReference.Builder newBuilder(HealthCheckServiceReference prototype)
Parameter
NameDescription
prototypeHealthCheckServiceReference
Returns
TypeDescription
HealthCheckServiceReference.Builder

parseDelimitedFrom(InputStream input)

public static HealthCheckServiceReference parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HealthCheckServiceReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HealthCheckServiceReference parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HealthCheckServiceReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HealthCheckServiceReference parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HealthCheckServiceReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HealthCheckServiceReference parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HealthCheckServiceReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HealthCheckServiceReference parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HealthCheckServiceReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HealthCheckServiceReference parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HealthCheckServiceReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HealthCheckServiceReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HealthCheckServiceReference> parser()
Returns
TypeDescription
Parser<HealthCheckServiceReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HealthCheckServiceReference getDefaultInstanceForType()
Returns
TypeDescription
HealthCheckServiceReference

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.

getParserForType()

public Parser<HealthCheckServiceReference> getParserForType()
Returns
TypeDescription
Parser<HealthCheckServiceReference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasHealthCheckService()

public boolean hasHealthCheckService()

optional string health_check_service = 408374747;

Returns
TypeDescription
boolean

Whether the healthCheckService field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HealthCheckServiceReference.Builder newBuilderForType()
Returns
TypeDescription
HealthCheckServiceReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HealthCheckServiceReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HealthCheckServiceReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HealthCheckServiceReference.Builder toBuilder()
Returns
TypeDescription
HealthCheckServiceReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException