Package com.google.cloud.compute.v1
Class HealthCheckService.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
- com.google.cloud.compute.v1.HealthCheckService.Builder
-
- All Implemented Interfaces:
HealthCheckServiceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HealthCheckService
public static final class HealthCheckService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder> implements HealthCheckServiceOrBuilder
Represents a Health-Check as a Service resource.
Protobuf typegoogle.cloud.compute.v1.HealthCheckService
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckService.BuilderaddAllHealthChecks(Iterable<String> values)A list of URLs to the HealthCheck resources.HealthCheckService.BuilderaddAllNetworkEndpointGroups(Iterable<String> values)A list of URLs to the NetworkEndpointGroup resources.HealthCheckService.BuilderaddAllNotificationEndpoints(Iterable<String> values)A list of URLs to the NotificationEndpoint resources.HealthCheckService.BuilderaddHealthChecks(String value)A list of URLs to the HealthCheck resources.HealthCheckService.BuilderaddHealthChecksBytes(com.google.protobuf.ByteString value)A list of URLs to the HealthCheck resources.HealthCheckService.BuilderaddNetworkEndpointGroups(String value)A list of URLs to the NetworkEndpointGroup resources.HealthCheckService.BuilderaddNetworkEndpointGroupsBytes(com.google.protobuf.ByteString value)A list of URLs to the NetworkEndpointGroup resources.HealthCheckService.BuilderaddNotificationEndpoints(String value)A list of URLs to the NotificationEndpoint resources.HealthCheckService.BuilderaddNotificationEndpointsBytes(com.google.protobuf.ByteString value)A list of URLs to the NotificationEndpoint resources.HealthCheckService.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheckServicebuild()HealthCheckServicebuildPartial()HealthCheckService.Builderclear()HealthCheckService.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.HealthCheckService.BuilderclearDescription()An optional description of this resource.HealthCheckService.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HealthCheckService.BuilderclearFingerprint()Fingerprint of this resource.HealthCheckService.BuilderclearHealthChecks()A list of URLs to the HealthCheck resources.HealthCheckService.BuilderclearHealthStatusAggregationPolicy()Optional.HealthCheckService.BuilderclearId()[Output Only] The unique identifier for the resource.HealthCheckService.BuilderclearKind()[Output only] Type of the resource.HealthCheckService.BuilderclearName()Name of the resource.HealthCheckService.BuilderclearNetworkEndpointGroups()A list of URLs to the NetworkEndpointGroup resources.HealthCheckService.BuilderclearNotificationEndpoints()A list of URLs to the NotificationEndpoint resources.HealthCheckService.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HealthCheckService.BuilderclearRegion()[Output Only] URL of the region where the health check service resides.HealthCheckService.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.HealthCheckService.Builderclone()StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.HealthCheckServicegetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFingerprint()Fingerprint of this resource.com.google.protobuf.ByteStringgetFingerprintBytes()Fingerprint of this resource.StringgetHealthChecks(int index)A list of URLs to the HealthCheck resources.com.google.protobuf.ByteStringgetHealthChecksBytes(int index)A list of URLs to the HealthCheck resources.intgetHealthChecksCount()A list of URLs to the HealthCheck resources.com.google.protobuf.ProtocolStringListgetHealthChecksList()A list of URLs to the HealthCheck resources.StringgetHealthStatusAggregationPolicy()Optional.com.google.protobuf.ByteStringgetHealthStatusAggregationPolicyBytes()Optional.longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output only] Type of the resource.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.StringgetNetworkEndpointGroups(int index)A list of URLs to the NetworkEndpointGroup resources.com.google.protobuf.ByteStringgetNetworkEndpointGroupsBytes(int index)A list of URLs to the NetworkEndpointGroup resources.intgetNetworkEndpointGroupsCount()A list of URLs to the NetworkEndpointGroup resources.com.google.protobuf.ProtocolStringListgetNetworkEndpointGroupsList()A list of URLs to the NetworkEndpointGroup resources.StringgetNotificationEndpoints(int index)A list of URLs to the NotificationEndpoint resources.com.google.protobuf.ByteStringgetNotificationEndpointsBytes(int index)A list of URLs to the NotificationEndpoint resources.intgetNotificationEndpointsCount()A list of URLs to the NotificationEndpoint resources.com.google.protobuf.ProtocolStringListgetNotificationEndpointsList()A list of URLs to the NotificationEndpoint resources.StringgetRegion()[Output Only] URL of the region where the health check service resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] URL of the region where the health check service resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasFingerprint()Fingerprint of this resource.booleanhasHealthStatusAggregationPolicy()Optional.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output only] Type of the resource.booleanhasName()Name of the resource.booleanhasRegion()[Output Only] URL of the region where the health check service resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HealthCheckService.BuildermergeFrom(HealthCheckService other)HealthCheckService.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HealthCheckService.BuildermergeFrom(com.google.protobuf.Message other)HealthCheckService.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HealthCheckService.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.HealthCheckService.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.HealthCheckService.BuildersetDescription(String value)An optional description of this resource.HealthCheckService.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.HealthCheckService.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheckService.BuildersetFingerprint(String value)Fingerprint of this resource.HealthCheckService.BuildersetFingerprintBytes(com.google.protobuf.ByteString value)Fingerprint of this resource.HealthCheckService.BuildersetHealthChecks(int index, String value)A list of URLs to the HealthCheck resources.HealthCheckService.BuildersetHealthStatusAggregationPolicy(String value)Optional.HealthCheckService.BuildersetHealthStatusAggregationPolicyBytes(com.google.protobuf.ByteString value)Optional.HealthCheckService.BuildersetId(long value)[Output Only] The unique identifier for the resource.HealthCheckService.BuildersetKind(String value)[Output only] Type of the resource.HealthCheckService.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output only] Type of the resource.HealthCheckService.BuildersetName(String value)Name of the resource.HealthCheckService.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource.HealthCheckService.BuildersetNetworkEndpointGroups(int index, String value)A list of URLs to the NetworkEndpointGroup resources.HealthCheckService.BuildersetNotificationEndpoints(int index, String value)A list of URLs to the NotificationEndpoint resources.HealthCheckService.BuildersetRegion(String value)[Output Only] URL of the region where the health check service resides.HealthCheckService.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] URL of the region where the health check service resides.HealthCheckService.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HealthCheckService.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.HealthCheckService.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.HealthCheckService.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
clear
public HealthCheckService.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
getDefaultInstanceForType
public HealthCheckService getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheckService build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheckService buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HealthCheckService.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
setField
public HealthCheckService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
clearField
public HealthCheckService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
clearOneof
public HealthCheckService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
setRepeatedField
public HealthCheckService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
addRepeatedField
public HealthCheckService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
mergeFrom
public HealthCheckService.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheckService.Builder>
-
mergeFrom
public HealthCheckService.Builder mergeFrom(HealthCheckService other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
mergeFrom
public HealthCheckService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheckService.Builder>- Throws:
IOException
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceHealthCheckServiceOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public HealthCheckService.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public HealthCheckService.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public HealthCheckService.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceHealthCheckServiceOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for description.
-
setDescription
public HealthCheckService.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public HealthCheckService.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public HealthCheckService.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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasFingerprint
public boolean hasFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String getFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceHealthCheckServiceOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
public HealthCheckService.Builder setFingerprint(String value)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
public HealthCheckService.Builder clearFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
public HealthCheckService.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
getHealthChecksList
public com.google.protobuf.ProtocolStringList getHealthChecksList()
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Specified by:
getHealthChecksListin interfaceHealthCheckServiceOrBuilder- Returns:
- A list containing the healthChecks.
-
getHealthChecksCount
public int getHealthChecksCount()
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Specified by:
getHealthChecksCountin interfaceHealthCheckServiceOrBuilder- Returns:
- The count of healthChecks.
-
getHealthChecks
public String getHealthChecks(int index)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Specified by:
getHealthChecksin interfaceHealthCheckServiceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The healthChecks at the given index.
-
getHealthChecksBytes
public com.google.protobuf.ByteString getHealthChecksBytes(int index)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Specified by:
getHealthChecksBytesin interfaceHealthCheckServiceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the healthChecks at the given index.
-
setHealthChecks
public HealthCheckService.Builder setHealthChecks(int index, String value)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Parameters:
index- The index to set the value at.value- The healthChecks to set.- Returns:
- This builder for chaining.
-
addHealthChecks
public HealthCheckService.Builder addHealthChecks(String value)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Parameters:
value- The healthChecks to add.- Returns:
- This builder for chaining.
-
addAllHealthChecks
public HealthCheckService.Builder addAllHealthChecks(Iterable<String> values)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Parameters:
values- The healthChecks to add.- Returns:
- This builder for chaining.
-
clearHealthChecks
public HealthCheckService.Builder clearHealthChecks()
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Returns:
- This builder for chaining.
-
addHealthChecksBytes
public HealthCheckService.Builder addHealthChecksBytes(com.google.protobuf.ByteString value)
A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
repeated string health_checks = 448370606;- Parameters:
value- The bytes of the healthChecks to add.- Returns:
- This builder for chaining.
-
hasHealthStatusAggregationPolicy
public boolean hasHealthStatusAggregationPolicy()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;- Specified by:
hasHealthStatusAggregationPolicyin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the healthStatusAggregationPolicy field is set.
-
getHealthStatusAggregationPolicy
public String getHealthStatusAggregationPolicy()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;- Specified by:
getHealthStatusAggregationPolicyin interfaceHealthCheckServiceOrBuilder- Returns:
- The healthStatusAggregationPolicy.
-
getHealthStatusAggregationPolicyBytes
public com.google.protobuf.ByteString getHealthStatusAggregationPolicyBytes()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;- Specified by:
getHealthStatusAggregationPolicyBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for healthStatusAggregationPolicy.
-
setHealthStatusAggregationPolicy
public HealthCheckService.Builder setHealthStatusAggregationPolicy(String value)
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;- Parameters:
value- The healthStatusAggregationPolicy to set.- Returns:
- This builder for chaining.
-
clearHealthStatusAggregationPolicy
public HealthCheckService.Builder clearHealthStatusAggregationPolicy()
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;- Returns:
- This builder for chaining.
-
setHealthStatusAggregationPolicyBytes
public HealthCheckService.Builder setHealthStatusAggregationPolicyBytes(com.google.protobuf.ByteString value)
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. Check the HealthStatusAggregationPolicy enum for the list of possible values.
optional string health_status_aggregation_policy = 253163129;- Parameters:
value- The bytes for healthStatusAggregationPolicy to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceHealthCheckServiceOrBuilder- Returns:
- The id.
-
setId
public HealthCheckService.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public HealthCheckService.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;- Specified by:
hasKindin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;- Specified by:
getKindin interfaceHealthCheckServiceOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for kind.
-
setKind
public HealthCheckService.Builder setKind(String value)
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public HealthCheckService.Builder clearKind()
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public HealthCheckService.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
Name of the resource. 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;- Specified by:
hasNamein interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource. 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;- Specified by:
getNamein interfaceHealthCheckServiceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource. 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;- Specified by:
getNameBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for name.
-
setName
public HealthCheckService.Builder setName(String value)
Name of the resource. 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public HealthCheckService.Builder clearName()
Name of the resource. 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;- Returns:
- This builder for chaining.
-
setNameBytes
public HealthCheckService.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNetworkEndpointGroupsList
public com.google.protobuf.ProtocolStringList getNetworkEndpointGroupsList()
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Specified by:
getNetworkEndpointGroupsListin interfaceHealthCheckServiceOrBuilder- Returns:
- A list containing the networkEndpointGroups.
-
getNetworkEndpointGroupsCount
public int getNetworkEndpointGroupsCount()
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Specified by:
getNetworkEndpointGroupsCountin interfaceHealthCheckServiceOrBuilder- Returns:
- The count of networkEndpointGroups.
-
getNetworkEndpointGroups
public String getNetworkEndpointGroups(int index)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Specified by:
getNetworkEndpointGroupsin interfaceHealthCheckServiceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The networkEndpointGroups at the given index.
-
getNetworkEndpointGroupsBytes
public com.google.protobuf.ByteString getNetworkEndpointGroupsBytes(int index)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Specified by:
getNetworkEndpointGroupsBytesin interfaceHealthCheckServiceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the networkEndpointGroups at the given index.
-
setNetworkEndpointGroups
public HealthCheckService.Builder setNetworkEndpointGroups(int index, String value)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Parameters:
index- The index to set the value at.value- The networkEndpointGroups to set.- Returns:
- This builder for chaining.
-
addNetworkEndpointGroups
public HealthCheckService.Builder addNetworkEndpointGroups(String value)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Parameters:
value- The networkEndpointGroups to add.- Returns:
- This builder for chaining.
-
addAllNetworkEndpointGroups
public HealthCheckService.Builder addAllNetworkEndpointGroups(Iterable<String> values)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Parameters:
values- The networkEndpointGroups to add.- Returns:
- This builder for chaining.
-
clearNetworkEndpointGroups
public HealthCheckService.Builder clearNetworkEndpointGroups()
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Returns:
- This builder for chaining.
-
addNetworkEndpointGroupsBytes
public HealthCheckService.Builder addNetworkEndpointGroupsBytes(com.google.protobuf.ByteString value)
A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
repeated string network_endpoint_groups = 29346733;- Parameters:
value- The bytes of the networkEndpointGroups to add.- Returns:
- This builder for chaining.
-
getNotificationEndpointsList
public com.google.protobuf.ProtocolStringList getNotificationEndpointsList()
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Specified by:
getNotificationEndpointsListin interfaceHealthCheckServiceOrBuilder- Returns:
- A list containing the notificationEndpoints.
-
getNotificationEndpointsCount
public int getNotificationEndpointsCount()
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Specified by:
getNotificationEndpointsCountin interfaceHealthCheckServiceOrBuilder- Returns:
- The count of notificationEndpoints.
-
getNotificationEndpoints
public String getNotificationEndpoints(int index)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Specified by:
getNotificationEndpointsin interfaceHealthCheckServiceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notificationEndpoints at the given index.
-
getNotificationEndpointsBytes
public com.google.protobuf.ByteString getNotificationEndpointsBytes(int index)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Specified by:
getNotificationEndpointsBytesin interfaceHealthCheckServiceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notificationEndpoints at the given index.
-
setNotificationEndpoints
public HealthCheckService.Builder setNotificationEndpoints(int index, String value)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Parameters:
index- The index to set the value at.value- The notificationEndpoints to set.- Returns:
- This builder for chaining.
-
addNotificationEndpoints
public HealthCheckService.Builder addNotificationEndpoints(String value)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Parameters:
value- The notificationEndpoints to add.- Returns:
- This builder for chaining.
-
addAllNotificationEndpoints
public HealthCheckService.Builder addAllNotificationEndpoints(Iterable<String> values)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Parameters:
values- The notificationEndpoints to add.- Returns:
- This builder for chaining.
-
clearNotificationEndpoints
public HealthCheckService.Builder clearNotificationEndpoints()
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Returns:
- This builder for chaining.
-
addNotificationEndpointsBytes
public HealthCheckService.Builder addNotificationEndpointsBytes(com.google.protobuf.ByteString value)
A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
repeated string notification_endpoints = 406728490;- Parameters:
value- The bytes of the notificationEndpoints to add.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
hasRegionin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionin interfaceHealthCheckServiceOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for region.
-
setRegion
public HealthCheckService.Builder setRegion(String value)
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public HealthCheckService.Builder clearRegion()
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
public HealthCheckService.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceHealthCheckServiceOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceHealthCheckServiceOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceHealthCheckServiceOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public HealthCheckService.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public HealthCheckService.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public HealthCheckService.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final HealthCheckService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
mergeUnknownFields
public final HealthCheckService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheckService.Builder>
-
-