Class TargetPoolsAddHealthCheckRequest (1.21.0)

public final class TargetPoolsAddHealthCheckRequest extends GeneratedMessageV3 implements TargetPoolsAddHealthCheckRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetPoolsAddHealthCheckRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TargetPoolsAddHealthCheckRequest

Static Fields

HEALTH_CHECKS_FIELD_NUMBER

public static final int HEALTH_CHECKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetPoolsAddHealthCheckRequest getDefaultInstance()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest

getDescriptor()

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

newBuilder()

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

newBuilder(TargetPoolsAddHealthCheckRequest prototype)

public static TargetPoolsAddHealthCheckRequest.Builder newBuilder(TargetPoolsAddHealthCheckRequest prototype)
Parameter
NameDescription
prototypeTargetPoolsAddHealthCheckRequest
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetPoolsAddHealthCheckRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest

getHealthChecks(int index)

public HealthCheckReference getHealthChecks(int index)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthCheckReference

getHealthChecksCount()

public int getHealthChecksCount()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
TypeDescription
int

getHealthChecksList()

public List<HealthCheckReference> getHealthChecksList()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
TypeDescription
List<HealthCheckReference>

getHealthChecksOrBuilder(int index)

public HealthCheckReferenceOrBuilder getHealthChecksOrBuilder(int index)

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthCheckReferenceOrBuilder

getHealthChecksOrBuilderList()

public List<? extends HealthCheckReferenceOrBuilder> getHealthChecksOrBuilderList()

The HttpHealthCheck to add to the target pool.

repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.HealthCheckReferenceOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 TargetPoolsAddHealthCheckRequest.Builder newBuilderForType()
Returns
TypeDescription
TargetPoolsAddHealthCheckRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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