Package com.google.monitoring.v3
Class UptimeCheckConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.monitoring.v3.UptimeCheckConfig
-
- All Implemented Interfaces:
UptimeCheckConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class UptimeCheckConfig extends com.google.protobuf.GeneratedMessageV3 implements UptimeCheckConfigOrBuilder
This message configures which resources and services to monitor for availability.
Protobuf typegoogle.monitoring.v3.UptimeCheckConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUptimeCheckConfig.BuilderThis message configures which resources and services to monitor for availability.static classUptimeCheckConfig.CheckerTypeWhat kind of checkers are available to be used by the check.static classUptimeCheckConfig.CheckRequestTypeCasestatic classUptimeCheckConfig.ContentMatcherOptional.static interfaceUptimeCheckConfig.ContentMatcherOrBuilderstatic classUptimeCheckConfig.HttpCheckInformation involved in an HTTP/HTTPS Uptime check request.static interfaceUptimeCheckConfig.HttpCheckOrBuilderstatic classUptimeCheckConfig.PingConfigInformation involved in sending ICMP pings alongside public HTTP/TCP checks.static interfaceUptimeCheckConfig.PingConfigOrBuilderstatic classUptimeCheckConfig.ResourceCasestatic classUptimeCheckConfig.ResourceGroupThe resource submessage for group checks.static interfaceUptimeCheckConfig.ResourceGroupOrBuilderstatic classUptimeCheckConfig.TcpCheckInformation required for a TCP Uptime check request.static interfaceUptimeCheckConfig.TcpCheckOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCHECKER_TYPE_FIELD_NUMBERstatic intCONTENT_MATCHERS_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intHTTP_CHECK_FIELD_NUMBERstatic intINTERNAL_CHECKERS_FIELD_NUMBERstatic intIS_INTERNAL_FIELD_NUMBERstatic intMONITORED_RESOURCE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPERIOD_FIELD_NUMBERstatic intRESOURCE_GROUP_FIELD_NUMBERstatic intSELECTED_REGIONS_FIELD_NUMBERstatic intTCP_CHECK_FIELD_NUMBERstatic intTIMEOUT_FIELD_NUMBERstatic intUSER_LABELS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsUserLabels(String key)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.booleanequals(Object obj)UptimeCheckConfig.CheckerTypegetCheckerType()The type of checkers to use to execute the Uptime check.intgetCheckerTypeValue()The type of checkers to use to execute the Uptime check.UptimeCheckConfig.CheckRequestTypeCasegetCheckRequestTypeCase()UptimeCheckConfig.ContentMatchergetContentMatchers(int index)The content that is expected to appear in the data returned by the target server against which the check is run.intgetContentMatchersCount()The content that is expected to appear in the data returned by the target server against which the check is run.List<UptimeCheckConfig.ContentMatcher>getContentMatchersList()The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfig.ContentMatcherOrBuildergetContentMatchersOrBuilder(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>getContentMatchersOrBuilderList()The content that is expected to appear in the data returned by the target server against which the check is run.static UptimeCheckConfiggetDefaultInstance()UptimeCheckConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()A human-friendly name for the Uptime check configuration.com.google.protobuf.ByteStringgetDisplayNameBytes()A human-friendly name for the Uptime check configuration.UptimeCheckConfig.HttpCheckgetHttpCheck()Contains information needed to make an HTTP or HTTPS check.UptimeCheckConfig.HttpCheckOrBuildergetHttpCheckOrBuilder()Contains information needed to make an HTTP or HTTPS check.InternalCheckergetInternalCheckers(int index)Deprecated.intgetInternalCheckersCount()Deprecated.List<InternalChecker>getInternalCheckersList()Deprecated.InternalCheckerOrBuildergetInternalCheckersOrBuilder(int index)Deprecated.List<? extends InternalCheckerOrBuilder>getInternalCheckersOrBuilderList()Deprecated.booleangetIsInternal()Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated.com.google.api.MonitoredResourcegetMonitoredResource()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.com.google.api.MonitoredResourceOrBuildergetMonitoredResourceOrBuilder()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.StringgetName()A unique resource name for this Uptime check configuration.com.google.protobuf.ByteStringgetNameBytes()A unique resource name for this Uptime check configuration.com.google.protobuf.Parser<UptimeCheckConfig>getParserForType()com.google.protobuf.DurationgetPeriod()How often, in seconds, the Uptime check is performed.com.google.protobuf.DurationOrBuildergetPeriodOrBuilder()How often, in seconds, the Uptime check is performed.UptimeCheckConfig.ResourceCasegetResourceCase()UptimeCheckConfig.ResourceGroupgetResourceGroup()The group resource associated with the configuration.UptimeCheckConfig.ResourceGroupOrBuildergetResourceGroupOrBuilder()The group resource associated with the configuration.UptimeCheckRegiongetSelectedRegions(int index)The list of regions from which the check will be run.intgetSelectedRegionsCount()The list of regions from which the check will be run.List<UptimeCheckRegion>getSelectedRegionsList()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.List<Integer>getSelectedRegionsValueList()The list of regions from which the check will be run.intgetSerializedSize()UptimeCheckConfig.TcpCheckgetTcpCheck()Contains information needed to make a TCP check.UptimeCheckConfig.TcpCheckOrBuildergetTcpCheckOrBuilder()Contains information needed to make a TCP check.com.google.protobuf.DurationgetTimeout()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).Map<String,String>getUserLabels()Deprecated.intgetUserLabelsCount()User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.Map<String,String>getUserLabelsMap()User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.StringgetUserLabelsOrDefault(String key, String defaultValue)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.StringgetUserLabelsOrThrow(String key)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.inthashCode()booleanhasHttpCheck()Contains information needed to make an HTTP or HTTPS check.booleanhasMonitoredResource()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.booleanhasPeriod()How often, in seconds, the Uptime check is performed.booleanhasResourceGroup()The group resource associated with the configuration.booleanhasTcpCheck()Contains information needed to make a TCP check.booleanhasTimeout()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static UptimeCheckConfig.BuildernewBuilder()static UptimeCheckConfig.BuildernewBuilder(UptimeCheckConfig prototype)UptimeCheckConfig.BuildernewBuilderForType()protected UptimeCheckConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UptimeCheckConfigparseDelimitedFrom(InputStream input)static UptimeCheckConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UptimeCheckConfigparseFrom(byte[] data)static UptimeCheckConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UptimeCheckConfigparseFrom(com.google.protobuf.ByteString data)static UptimeCheckConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UptimeCheckConfigparseFrom(com.google.protobuf.CodedInputStream input)static UptimeCheckConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UptimeCheckConfigparseFrom(InputStream input)static UptimeCheckConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UptimeCheckConfigparseFrom(ByteBuffer data)static UptimeCheckConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UptimeCheckConfig>parser()UptimeCheckConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONITORED_RESOURCE_FIELD_NUMBER
public static final int MONITORED_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_GROUP_FIELD_NUMBER
public static final int RESOURCE_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTP_CHECK_FIELD_NUMBER
public static final int HTTP_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TCP_CHECK_FIELD_NUMBER
public static final int TCP_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERIOD_FIELD_NUMBER
public static final int PERIOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_MATCHERS_FIELD_NUMBER
public static final int CONTENT_MATCHERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECKER_TYPE_FIELD_NUMBER
public static final int CHECKER_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELECTED_REGIONS_FIELD_NUMBER
public static final int SELECTED_REGIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_INTERNAL_FIELD_NUMBER
public static final int IS_INTERNAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERNAL_CHECKERS_FIELD_NUMBER
public static final int INTERNAL_CHECKERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_LABELS_FIELD_NUMBER
public static final int USER_LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResourceCase
public UptimeCheckConfig.ResourceCase getResourceCase()
- Specified by:
getResourceCasein interfaceUptimeCheckConfigOrBuilder
-
getCheckRequestTypeCase
public UptimeCheckConfig.CheckRequestTypeCase getCheckRequestTypeCase()
- Specified by:
getCheckRequestTypeCasein interfaceUptimeCheckConfigOrBuilder
-
getName
public String getName()
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;- Specified by:
getNamein interfaceUptimeCheckConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
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;- Specified by:
getNameBytesin interfaceUptimeCheckConfigOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String 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.
-
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
public com.google.api.MonitoredResource 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.
-
getMonitoredResourceOrBuilder
public com.google.api.MonitoredResourceOrBuilder 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
public UptimeCheckConfig.ResourceGroup getResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
getResourceGroupin interfaceUptimeCheckConfigOrBuilder- Returns:
- The resourceGroup.
-
getResourceGroupOrBuilder
public UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
getResourceGroupOrBuilderin 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
public UptimeCheckConfig.HttpCheck 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.
-
getHttpCheckOrBuilder
public UptimeCheckConfig.HttpCheckOrBuilder 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
public UptimeCheckConfig.TcpCheck getTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;- Specified by:
getTcpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- The tcpCheck.
-
getTcpCheckOrBuilder
public UptimeCheckConfig.TcpCheckOrBuilder 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.
-
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.
-
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
public List<UptimeCheckConfig.ContentMatcher> 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
-
getContentMatchersOrBuilderList
public List<? extends UptimeCheckConfig.ContentMatcherOrBuilder> 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
-
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
public UptimeCheckConfig.ContentMatcher getContentMatchers(int index)
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
-
getContentMatchersOrBuilder
public UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder(int index)
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
-
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.
-
getCheckerType
public UptimeCheckConfig.CheckerType 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.
-
getSelectedRegionsList
public List<UptimeCheckRegion> 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
public UptimeCheckRegion getSelectedRegions(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:
getSelectedRegionsin interfaceUptimeCheckConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The selectedRegions at the given index.
-
getSelectedRegionsValueList
public List<Integer> 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.
-
getIsInternal
@Deprecated public boolean getIsInternal()
Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=478If 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.
-
getInternalCheckersList
@Deprecated public List<InternalChecker> 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
-
getInternalCheckersOrBuilderList
@Deprecated public List<? extends InternalCheckerOrBuilder> 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
-
getInternalCheckersCount
@Deprecated public int 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 public InternalChecker getInternalCheckers(int index)
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
-
getInternalCheckersOrBuilder
@Deprecated public InternalCheckerOrBuilder getInternalCheckersOrBuilder(int index)
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
-
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
public boolean containsUserLabels(String key)
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 public Map<String,String> getUserLabels()
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceUptimeCheckConfigOrBuilder
-
getUserLabelsMap
public Map<String,String> 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
public String getUserLabelsOrDefault(String key, String defaultValue)
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
public String getUserLabelsOrThrow(String key)
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UptimeCheckConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UptimeCheckConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UptimeCheckConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UptimeCheckConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UptimeCheckConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UptimeCheckConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UptimeCheckConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UptimeCheckConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UptimeCheckConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UptimeCheckConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static UptimeCheckConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UptimeCheckConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public UptimeCheckConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UptimeCheckConfig.Builder newBuilder()
-
newBuilder
public static UptimeCheckConfig.Builder newBuilder(UptimeCheckConfig prototype)
-
toBuilder
public UptimeCheckConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UptimeCheckConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UptimeCheckConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UptimeCheckConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<UptimeCheckConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UptimeCheckConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-