public static final class TargetPool.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder> implements TargetPoolOrBuilder
Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.Protobuf type
google.cloud.compute.v1.TargetPool| Modifier and Type | Method and Description |
|---|---|
TargetPool.Builder |
addAllHealthChecks(Iterable<String> values)
The URL of the HttpHealthCheck resource.
|
TargetPool.Builder |
addAllInstances(Iterable<String> values)
A list of resource URLs to the virtual machine instances serving this pool.
|
TargetPool.Builder |
addHealthChecks(String value)
The URL of the HttpHealthCheck resource.
|
TargetPool.Builder |
addHealthChecksBytes(com.google.protobuf.ByteString value)
The URL of the HttpHealthCheck resource.
|
TargetPool.Builder |
addInstances(String value)
A list of resource URLs to the virtual machine instances serving this pool.
|
TargetPool.Builder |
addInstancesBytes(com.google.protobuf.ByteString value)
A list of resource URLs to the virtual machine instances serving this pool.
|
TargetPool.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TargetPool |
build() |
TargetPool |
buildPartial() |
TargetPool.Builder |
clear() |
TargetPool.Builder |
clearBackupPool()
The server-defined URL for the resource.
|
TargetPool.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetPool.Builder |
clearDescription()
An optional description of this resource.
|
TargetPool.Builder |
clearFailoverRatio()
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool).
|
TargetPool.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TargetPool.Builder |
clearHealthChecks()
The URL of the HttpHealthCheck resource.
|
TargetPool.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
TargetPool.Builder |
clearInstances()
A list of resource URLs to the virtual machine instances serving this pool.
|
TargetPool.Builder |
clearKind()
[Output Only] Type of the resource.
|
TargetPool.Builder |
clearName()
Name of the resource.
|
TargetPool.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TargetPool.Builder |
clearRegion()
[Output Only] URL of the region where the target pool resides.
|
TargetPool.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
TargetPool.Builder |
clearSessionAffinity()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool.
|
TargetPool.Builder |
clone() |
String |
getBackupPool()
The server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getBackupPoolBytes()
The server-defined URL for the resource.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetPool |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getFailoverRatio()
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool).
|
String |
getHealthChecks(int index)
The URL of the HttpHealthCheck resource.
|
com.google.protobuf.ByteString |
getHealthChecksBytes(int index)
The URL of the HttpHealthCheck resource.
|
int |
getHealthChecksCount()
The URL of the HttpHealthCheck resource.
|
com.google.protobuf.ProtocolStringList |
getHealthChecksList()
The URL of the HttpHealthCheck resource.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getInstances(int index)
A list of resource URLs to the virtual machine instances serving this pool.
|
com.google.protobuf.ByteString |
getInstancesBytes(int index)
A list of resource URLs to the virtual machine instances serving this pool.
|
int |
getInstancesCount()
A list of resource URLs to the virtual machine instances serving this pool.
|
com.google.protobuf.ProtocolStringList |
getInstancesList()
A list of resource URLs to the virtual machine instances serving this pool.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getRegion()
[Output Only] URL of the region where the target pool resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the target pool resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getSessionAffinity()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool.
|
com.google.protobuf.ByteString |
getSessionAffinityBytes()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool.
|
boolean |
hasBackupPool()
The server-defined URL for the resource.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasFailoverRatio()
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool).
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasRegion()
[Output Only] URL of the region where the target pool resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSessionAffinity()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TargetPool.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TargetPool.Builder |
mergeFrom(com.google.protobuf.Message other) |
TargetPool.Builder |
mergeFrom(TargetPool other) |
TargetPool.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TargetPool.Builder |
setBackupPool(String value)
The server-defined URL for the resource.
|
TargetPool.Builder |
setBackupPoolBytes(com.google.protobuf.ByteString value)
The server-defined URL for the resource.
|
TargetPool.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetPool.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetPool.Builder |
setDescription(String value)
An optional description of this resource.
|
TargetPool.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
TargetPool.Builder |
setFailoverRatio(float value)
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool).
|
TargetPool.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TargetPool.Builder |
setHealthChecks(int index,
String value)
The URL of the HttpHealthCheck resource.
|
TargetPool.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
TargetPool.Builder |
setInstances(int index,
String value)
A list of resource URLs to the virtual machine instances serving this pool.
|
TargetPool.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
TargetPool.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
TargetPool.Builder |
setName(String value)
Name of the resource.
|
TargetPool.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
TargetPool.Builder |
setRegion(String value)
[Output Only] URL of the region where the target pool resides.
|
TargetPool.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the target pool resides.
|
TargetPool.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TargetPool.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
TargetPool.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
TargetPool.Builder |
setSessionAffinity(String value)
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool.
|
TargetPool.Builder |
setSessionAffinityBytes(com.google.protobuf.ByteString value)
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool.
|
TargetPool.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TargetPool build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TargetPool buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TargetPool.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TargetPool.Builder>public TargetPool.Builder mergeFrom(TargetPool other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public TargetPool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TargetPool.Builder>IOExceptionpublic boolean hasBackupPool()
The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional string backup_pool = 45884537;hasBackupPool in interface TargetPoolOrBuilderpublic String getBackupPool()
The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional string backup_pool = 45884537;getBackupPool in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getBackupPoolBytes()
The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional string backup_pool = 45884537;getBackupPoolBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setBackupPool(String value)
The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional string backup_pool = 45884537;value - The backupPool to set.public TargetPool.Builder clearBackupPool()
The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional string backup_pool = 45884537;public TargetPool.Builder setBackupPoolBytes(com.google.protobuf.ByteString value)
The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional string backup_pool = 45884537;value - The bytes for backupPool to set.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface TargetPoolOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public TargetPool.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public TargetPool.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface TargetPoolOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public TargetPool.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public TargetPool.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasFailoverRatio()
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional float failover_ratio = 212667006;hasFailoverRatio in interface TargetPoolOrBuilderpublic float getFailoverRatio()
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional float failover_ratio = 212667006;getFailoverRatio in interface TargetPoolOrBuilderpublic TargetPool.Builder setFailoverRatio(float value)
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional float failover_ratio = 212667006;value - The failoverRatio to set.public TargetPool.Builder clearFailoverRatio()
This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
optional float failover_ratio = 212667006;public com.google.protobuf.ProtocolStringList getHealthChecksList()
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;getHealthChecksList in interface TargetPoolOrBuilderpublic int getHealthChecksCount()
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;getHealthChecksCount in interface TargetPoolOrBuilderpublic String getHealthChecks(int index)
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;getHealthChecks in interface TargetPoolOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHealthChecksBytes(int index)
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;getHealthChecksBytes in interface TargetPoolOrBuilderindex - The index of the value to return.public TargetPool.Builder setHealthChecks(int index, String value)
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;index - The index to set the value at.value - The healthChecks to set.public TargetPool.Builder addHealthChecks(String value)
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;value - The healthChecks to add.public TargetPool.Builder addAllHealthChecks(Iterable<String> values)
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;values - The healthChecks to add.public TargetPool.Builder clearHealthChecks()
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;public TargetPool.Builder addHealthChecksBytes(com.google.protobuf.ByteString value)
The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.
repeated string health_checks = 448370606;value - The bytes of the healthChecks to add.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface TargetPoolOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface TargetPoolOrBuilderpublic TargetPool.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public TargetPool.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public com.google.protobuf.ProtocolStringList getInstancesList()
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;getInstancesList in interface TargetPoolOrBuilderpublic int getInstancesCount()
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;getInstancesCount in interface TargetPoolOrBuilderpublic String getInstances(int index)
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;getInstances in interface TargetPoolOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInstancesBytes(int index)
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;getInstancesBytes in interface TargetPoolOrBuilderindex - The index of the value to return.public TargetPool.Builder setInstances(int index, String value)
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;index - The index to set the value at.value - The instances to set.public TargetPool.Builder addInstances(String value)
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;value - The instances to add.public TargetPool.Builder addAllInstances(Iterable<String> values)
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;values - The instances to add.public TargetPool.Builder clearInstances()
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;public TargetPool.Builder addInstancesBytes(com.google.protobuf.ByteString value)
A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
repeated string instances = 29097598;value - The bytes of the instances to add.public boolean hasKind()
[Output Only] Type of the resource. Always compute#targetPool for target pools.
optional string kind = 3292052;hasKind in interface TargetPoolOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#targetPool for target pools.
optional string kind = 3292052;getKind in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#targetPool for target pools.
optional string kind = 3292052;getKindBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#targetPool for target pools.
optional string kind = 3292052;value - The kind to set.public TargetPool.Builder clearKind()
[Output Only] Type of the resource. Always compute#targetPool for target pools.
optional string kind = 3292052;public TargetPool.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#targetPool for target pools.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface TargetPoolOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public TargetPool.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public TargetPool.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public boolean hasRegion()
[Output Only] URL of the region where the target pool resides.
optional string region = 138946292;hasRegion in interface TargetPoolOrBuilderpublic String getRegion()
[Output Only] URL of the region where the target pool resides.
optional string region = 138946292;getRegion in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the target pool resides.
optional string region = 138946292;getRegionBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setRegion(String value)
[Output Only] URL of the region where the target pool resides.
optional string region = 138946292;value - The region to set.public TargetPool.Builder clearRegion()
[Output Only] URL of the region where the target pool resides.
optional string region = 138946292;public TargetPool.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the target pool resides.
optional string region = 138946292;value - The bytes for region to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface TargetPoolOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public TargetPool.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public TargetPool.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasSessionAffinity()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;hasSessionAffinity in interface TargetPoolOrBuilderpublic String getSessionAffinity()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;getSessionAffinity in interface TargetPoolOrBuilderpublic com.google.protobuf.ByteString getSessionAffinityBytes()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;getSessionAffinityBytes in interface TargetPoolOrBuilderpublic TargetPool.Builder setSessionAffinity(String value)
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;value - The sessionAffinity to set.public TargetPool.Builder clearSessionAffinity()
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;public TargetPool.Builder setSessionAffinityBytes(com.google.protobuf.ByteString value)
Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. Check the SessionAffinity enum for the list of possible values.
optional string session_affinity = 463888561;value - The bytes for sessionAffinity to set.public final TargetPool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>public final TargetPool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TargetPool.Builder>Copyright © 2023 Google LLC. All rights reserved.