Package com.google.monitoring.v3
Class UptimeCheckConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.Builder>
com.google.monitoring.v3.UptimeCheckConfig.Builder
- All Implemented Interfaces:
UptimeCheckConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UptimeCheckConfig
public static final class UptimeCheckConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.Builder>
implements UptimeCheckConfigOrBuilder
This message configures which resources and services to monitor for availability.Protobuf type
google.monitoring.v3.UptimeCheckConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllContentMatchers(Iterable<? extends UptimeCheckConfig.ContentMatcher> values) The content that is expected to appear in the data returned by the target server against which the check is run.addAllInternalCheckers(Iterable<? extends InternalChecker> values) Deprecated.addAllSelectedRegions(Iterable<? extends UptimeCheckRegion> values) The list of regions from which the check will be run.addAllSelectedRegionsValue(Iterable<Integer> values) The list of regions from which the check will be run.addContentMatchers(int index, UptimeCheckConfig.ContentMatcher value) The content that is expected to appear in the data returned by the target server against which the check is run.addContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue) The content that is expected to appear in the data returned by the target server against which the check is run.The content that is expected to appear in the data returned by the target server against which the check is run.addContentMatchers(UptimeCheckConfig.ContentMatcher.Builder builderForValue) The content that is expected to appear in the data returned by the target server against which the check is run.The content that is expected to appear in the data returned by the target server against which the check is run.addContentMatchersBuilder(int index) The content that is expected to appear in the data returned by the target server against which the check is run.addInternalCheckers(int index, InternalChecker value) Deprecated.addInternalCheckers(int index, InternalChecker.Builder builderForValue) Deprecated.Deprecated.addInternalCheckers(InternalChecker.Builder builderForValue) Deprecated.Deprecated.addInternalCheckersBuilder(int index) Deprecated.The list of regions from which the check will be run.addSelectedRegionsValue(int value) The list of regions from which the check will be run.build()clear()The type of checkers to use to execute the Uptime check.The content that is expected to appear in the data returned by the target server against which the check is run.A human-friendly name for the Uptime check configuration.Contains information needed to make an HTTP or HTTPS check.Deprecated.Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated.The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.Identifier.How often, in seconds, the Uptime check is performed.The group resource associated with the configuration.The list of regions from which the check will be run.Specifies a Synthetic Monitor to invoke.Contains information needed to make a TCP check.The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).booleancontainsUserLabels(String key) User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.The type of checkers to use to execute the Uptime check.intThe type of checkers to use to execute the Uptime check.getContentMatchers(int index) The content that is expected to appear in the data returned by the target server against which the check is run.getContentMatchersBuilder(int index) The content that is expected to appear in the data returned by the target server against which the check is run.The content that is expected to appear in the data returned by the target server against which the check is run.intThe content that is expected to appear in the data returned by the target server against which the check is run.The content that is expected to appear in the data returned by the target server against which the check is run.getContentMatchersOrBuilder(int index) The content that is expected to appear in the data returned by the target server against which the check is run.List<? extends UptimeCheckConfig.ContentMatcherOrBuilder>The content that is expected to appear in the data returned by the target server against which the check is run.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA human-friendly name for the Uptime check configuration.com.google.protobuf.ByteStringA human-friendly name for the Uptime check configuration.Contains information needed to make an HTTP or HTTPS check.Contains information needed to make an HTTP or HTTPS check.Contains information needed to make an HTTP or HTTPS check.getInternalCheckers(int index) Deprecated.getInternalCheckersBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getInternalCheckersOrBuilder(int index) Deprecated.List<? extends InternalCheckerOrBuilder>Deprecated.booleanDeprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated.The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.DurationHow often, in seconds, the Uptime check is performed.com.google.protobuf.Duration.BuilderHow often, in seconds, the Uptime check is performed.com.google.protobuf.DurationOrBuilderHow often, in seconds, the Uptime check is performed.The group resource associated with the configuration.The group resource associated with the configuration.The group resource associated with the configuration.getSelectedRegions(int index) The list of regions from which the check will be run.intThe list of regions from which the check will be run.The list of regions from which the check will be run.intgetSelectedRegionsValue(int index) The list of regions from which the check will be run.The list of regions from which the check will be run.Specifies a Synthetic Monitor to invoke.Specifies a Synthetic Monitor to invoke.Specifies a Synthetic Monitor to invoke.Contains information needed to make a TCP check.Contains information needed to make a TCP check.Contains information needed to make a TCP check.com.google.protobuf.DurationThe maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).com.google.protobuf.Duration.BuilderThe maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).com.google.protobuf.DurationOrBuilderThe maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).Deprecated.intUser-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.getUserLabelsOrDefault(String key, String defaultValue) User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.booleanContains information needed to make an HTTP or HTTPS check.booleanThe [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.booleanHow often, in seconds, the Uptime check is performed.booleanThe group resource associated with the configuration.booleanSpecifies a Synthetic Monitor to invoke.booleanContains information needed to make a TCP check.booleanThe maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(UptimeCheckConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Contains information needed to make an HTTP or HTTPS check.The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.mergePeriod(com.google.protobuf.Duration value) How often, in seconds, the Uptime check is performed.The group resource associated with the configuration.Specifies a Synthetic Monitor to invoke.Contains information needed to make a TCP check.mergeTimeout(com.google.protobuf.Duration value) The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).putAllUserLabels(Map<String, String> values) User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.putUserLabels(String key, String value) User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.removeContentMatchers(int index) The content that is expected to appear in the data returned by the target server against which the check is run.removeInternalCheckers(int index) Deprecated.removeUserLabels(String key) User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.The type of checkers to use to execute the Uptime check.setCheckerTypeValue(int value) The type of checkers to use to execute the Uptime check.setContentMatchers(int index, UptimeCheckConfig.ContentMatcher value) The content that is expected to appear in the data returned by the target server against which the check is run.setContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue) The content that is expected to appear in the data returned by the target server against which the check is run.setDisplayName(String value) A human-friendly name for the Uptime check configuration.setDisplayNameBytes(com.google.protobuf.ByteString value) A human-friendly name for the Uptime check configuration.Contains information needed to make an HTTP or HTTPS check.setHttpCheck(UptimeCheckConfig.HttpCheck.Builder builderForValue) Contains information needed to make an HTTP or HTTPS check.setInternalCheckers(int index, InternalChecker value) Deprecated.setInternalCheckers(int index, InternalChecker.Builder builderForValue) Deprecated.setIsInternal(boolean value) Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated.The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.setMonitoredResource(MonitoredResource.Builder builderForValue) The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setPeriod(com.google.protobuf.Duration value) How often, in seconds, the Uptime check is performed.setPeriod(com.google.protobuf.Duration.Builder builderForValue) How often, in seconds, the Uptime check is performed.The group resource associated with the configuration.setResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue) The group resource associated with the configuration.setSelectedRegions(int index, UptimeCheckRegion value) The list of regions from which the check will be run.setSelectedRegionsValue(int index, int value) The list of regions from which the check will be run.Specifies a Synthetic Monitor to invoke.setSyntheticMonitor(SyntheticMonitorTarget.Builder builderForValue) Specifies a Synthetic Monitor to invoke.Contains information needed to make a TCP check.setTcpCheck(UptimeCheckConfig.TcpCheck.Builder builderForValue) Contains information needed to make a TCP check.setTimeout(com.google.protobuf.Duration value) The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).setTimeout(com.google.protobuf.Duration.Builder builderForValue) The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.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.GeneratedMessage.Builder<UptimeCheckConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.Builder>
-
mergeFrom
public UptimeCheckConfig.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<UptimeCheckConfig.Builder>- Throws:
IOException
-
getResourceCase
- Specified by:
getResourceCasein interfaceUptimeCheckConfigOrBuilder
-
clearResource
-
getCheckRequestTypeCase
- Specified by:
getCheckRequestTypeCasein interfaceUptimeCheckConfigOrBuilder
-
clearCheckRequestType
-
getName
Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the Uptime check. This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceUptimeCheckConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the Uptime check. This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceUptimeCheckConfigOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the Uptime check. This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the Uptime check. This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the Uptime check. This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;- Specified by:
getDisplayNamein interfaceUptimeCheckConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceUptimeCheckConfigOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasMonitoredResource
public boolean hasMonitoredResource()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;- Specified by:
hasMonitoredResourcein interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the monitoredResource field is set.
-
getMonitoredResource
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;- Specified by:
getMonitoredResourcein interfaceUptimeCheckConfigOrBuilder- Returns:
- The monitoredResource.
-
setMonitoredResource
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3; -
setMonitoredResource
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3; -
mergeMonitoredResource
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3; -
clearMonitoredResource
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3; -
getMonitoredResourceBuilder
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3; -
getMonitoredResourceOrBuilder
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;- Specified by:
getMonitoredResourceOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasResourceGroup
public boolean hasResourceGroup()The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
hasResourceGroupin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the resourceGroup field is set.
-
getResourceGroup
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
getResourceGroupin interfaceUptimeCheckConfigOrBuilder- Returns:
- The resourceGroup.
-
setResourceGroup
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; -
setResourceGroup
public UptimeCheckConfig.Builder setResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue) The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; -
mergeResourceGroup
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; -
clearResourceGroup
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; -
getResourceGroupBuilder
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; -
getResourceGroupOrBuilder
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
getResourceGroupOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasSyntheticMonitor
public boolean hasSyntheticMonitor()Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;- Specified by:
hasSyntheticMonitorin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the syntheticMonitor field is set.
-
getSyntheticMonitor
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;- Specified by:
getSyntheticMonitorin interfaceUptimeCheckConfigOrBuilder- Returns:
- The syntheticMonitor.
-
setSyntheticMonitor
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21; -
setSyntheticMonitor
public UptimeCheckConfig.Builder setSyntheticMonitor(SyntheticMonitorTarget.Builder builderForValue) Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21; -
mergeSyntheticMonitor
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21; -
clearSyntheticMonitor
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21; -
getSyntheticMonitorBuilder
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21; -
getSyntheticMonitorOrBuilder
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;- Specified by:
getSyntheticMonitorOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasHttpCheck
public boolean hasHttpCheck()Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;- Specified by:
hasHttpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the httpCheck field is set.
-
getHttpCheck
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;- Specified by:
getHttpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- The httpCheck.
-
setHttpCheck
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; -
setHttpCheck
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; -
mergeHttpCheck
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; -
clearHttpCheck
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; -
getHttpCheckBuilder
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; -
getHttpCheckOrBuilder
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;- Specified by:
getHttpCheckOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasTcpCheck
public boolean hasTcpCheck()Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;- Specified by:
hasTcpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the tcpCheck field is set.
-
getTcpCheck
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;- Specified by:
getTcpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- The tcpCheck.
-
setTcpCheck
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; -
setTcpCheck
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; -
mergeTcpCheck
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; -
clearTcpCheck
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; -
getTcpCheckBuilder
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; -
getTcpCheckOrBuilder
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;- Specified by:
getTcpCheckOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasPeriod
public boolean hasPeriod()How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;- Specified by:
hasPeriodin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the period field is set.
-
getPeriod
public com.google.protobuf.Duration getPeriod()How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;- Specified by:
getPeriodin interfaceUptimeCheckConfigOrBuilder- Returns:
- The period.
-
setPeriod
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7; -
setPeriod
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7; -
mergePeriod
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7; -
clearPeriod
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7; -
getPeriodBuilder
public com.google.protobuf.Duration.Builder getPeriodBuilder()How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7; -
getPeriodOrBuilder
public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder()How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;- Specified by:
getPeriodOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasTimeout
public boolean hasTimeout()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;- Specified by:
hasTimeoutin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;- Specified by:
getTimeoutin interfaceUptimeCheckConfigOrBuilder- Returns:
- The timeout.
-
setTimeout
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8; -
setTimeout
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8; -
mergeTimeout
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8; -
clearTimeout
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8; -
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8; -
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;- Specified by:
getTimeoutOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchersList
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersListin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchersCount
public int getContentMatchersCount()The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersCountin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchers
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersin interfaceUptimeCheckConfigOrBuilder
-
setContentMatchers
public UptimeCheckConfig.Builder setContentMatchers(int index, UptimeCheckConfig.ContentMatcher value) The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
setContentMatchers
public UptimeCheckConfig.Builder setContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue) The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
addContentMatchers
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
addContentMatchers
public UptimeCheckConfig.Builder addContentMatchers(int index, UptimeCheckConfig.ContentMatcher value) The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
addContentMatchers
public UptimeCheckConfig.Builder addContentMatchers(UptimeCheckConfig.ContentMatcher.Builder builderForValue) The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
addContentMatchers
public UptimeCheckConfig.Builder addContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue) The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
addAllContentMatchers
public UptimeCheckConfig.Builder addAllContentMatchers(Iterable<? extends UptimeCheckConfig.ContentMatcher> values) The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
clearContentMatchers
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
removeContentMatchers
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
getContentMatchersBuilder
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
getContentMatchersOrBuilder
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchersOrBuilderList
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersOrBuilderListin interfaceUptimeCheckConfigOrBuilder
-
addContentMatchersBuilder
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
addContentMatchersBuilder
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
getContentMatchersBuilderList
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; -
getCheckerTypeValue
public int getCheckerTypeValue()The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Specified by:
getCheckerTypeValuein interfaceUptimeCheckConfigOrBuilder- Returns:
- The enum numeric value on the wire for checkerType.
-
setCheckerTypeValue
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Parameters:
value- The enum numeric value on the wire for checkerType to set.- Returns:
- This builder for chaining.
-
getCheckerType
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Specified by:
getCheckerTypein interfaceUptimeCheckConfigOrBuilder- Returns:
- The checkerType.
-
setCheckerType
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Parameters:
value- The checkerType to set.- Returns:
- This builder for chaining.
-
clearCheckerType
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Returns:
- This builder for chaining.
-
getSelectedRegionsList
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsListin interfaceUptimeCheckConfigOrBuilder- Returns:
- A list containing the selectedRegions.
-
getSelectedRegionsCount
public int getSelectedRegionsCount()The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsCountin interfaceUptimeCheckConfigOrBuilder- Returns:
- The count of selectedRegions.
-
getSelectedRegions
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsin interfaceUptimeCheckConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The selectedRegions at the given index.
-
setSelectedRegions
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Parameters:
index- The index to set the value at.value- The selectedRegions to set.- Returns:
- This builder for chaining.
-
addSelectedRegions
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Parameters:
value- The selectedRegions to add.- Returns:
- This builder for chaining.
-
addAllSelectedRegions
public UptimeCheckConfig.Builder addAllSelectedRegions(Iterable<? extends UptimeCheckRegion> values) The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Parameters:
values- The selectedRegions to add.- Returns:
- This builder for chaining.
-
clearSelectedRegions
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Returns:
- This builder for chaining.
-
getSelectedRegionsValueList
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsValueListin interfaceUptimeCheckConfigOrBuilder- Returns:
- A list containing the enum numeric values on the wire for selectedRegions.
-
getSelectedRegionsValue
public int getSelectedRegionsValue(int index) The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsValuein interfaceUptimeCheckConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of selectedRegions at the given index.
-
setSelectedRegionsValue
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for selectedRegions to set.- Returns:
- This builder for chaining.
-
addSelectedRegionsValue
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Parameters:
value- The enum numeric value on the wire for selectedRegions to add.- Returns:
- This builder for chaining.
-
addAllSelectedRegionsValue
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Parameters:
values- The enum numeric values on the wire for selectedRegions to add.- Returns:
- This builder for chaining.
-
getIsInternal
Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=547If this is `true`, then checks are made only from the 'internal_checkers'. If it is `false`, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is `true`, or to provide 'internal_checkers' when is_internal is `false`.
bool is_internal = 15 [deprecated = true];- Specified by:
getIsInternalin interfaceUptimeCheckConfigOrBuilder- Returns:
- The isInternal.
-
setIsInternal
Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=547If this is `true`, then checks are made only from the 'internal_checkers'. If it is `false`, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is `true`, or to provide 'internal_checkers' when is_internal is `false`.
bool is_internal = 15 [deprecated = true];- Parameters:
value- The isInternal to set.- Returns:
- This builder for chaining.
-
clearIsInternal
Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=547If this is `true`, then checks are made only from the 'internal_checkers'. If it is `false`, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is `true`, or to provide 'internal_checkers' when is_internal is `false`.
bool is_internal = 15 [deprecated = true];- Returns:
- This builder for chaining.
-
getInternalCheckersList
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersListin interfaceUptimeCheckConfigOrBuilder
-
getInternalCheckersCount
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersCountin interfaceUptimeCheckConfigOrBuilder
-
getInternalCheckers
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersin interfaceUptimeCheckConfigOrBuilder
-
setInternalCheckers
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
setInternalCheckers
@Deprecated public UptimeCheckConfig.Builder setInternalCheckers(int index, InternalChecker.Builder builderForValue) Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
addInternalCheckers
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
addInternalCheckers
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
addInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addInternalCheckers(InternalChecker.Builder builderForValue) Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
addInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addInternalCheckers(int index, InternalChecker.Builder builderForValue) Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
addAllInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addAllInternalCheckers(Iterable<? extends InternalChecker> values) Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
clearInternalCheckers
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
removeInternalCheckers
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
getInternalCheckersBuilder
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
getInternalCheckersOrBuilder
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
getInternalCheckersOrBuilderList
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersOrBuilderListin interfaceUptimeCheckConfigOrBuilder
-
addInternalCheckersBuilder
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
addInternalCheckersBuilder
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
getInternalCheckersBuilderList
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; -
getUserLabelsCount
public int getUserLabelsCount()Description copied from interface:UptimeCheckConfigOrBuilderUser-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsCountin interfaceUptimeCheckConfigOrBuilder
-
containsUserLabels
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
containsUserLabelsin interfaceUptimeCheckConfigOrBuilder
-
getUserLabels
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceUptimeCheckConfigOrBuilder
-
getUserLabelsMap
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsMapin interfaceUptimeCheckConfigOrBuilder
-
getUserLabelsOrDefault
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsOrDefaultin interfaceUptimeCheckConfigOrBuilder
-
getUserLabelsOrThrow
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsOrThrowin interfaceUptimeCheckConfigOrBuilder
-
clearUserLabels
-
removeUserLabels
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20; -
getMutableUserLabels
Deprecated.Use alternate mutation accessors instead. -
putUserLabels
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20; -
putAllUserLabels
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;
-