public final class UptimeCheckConfig extends com.google.protobuf.GeneratedMessageV3 implements UptimeCheckConfigOrBuilder
This message configures which resources and services to monitor for availability.Protobuf type
google.monitoring.v3.UptimeCheckConfig| Modifier and Type | Class and Description |
|---|---|
static class |
UptimeCheckConfig.Builder
This message configures which resources and services to monitor for
availability.
|
static class |
UptimeCheckConfig.CheckerType
What kind of checkers are available to be used by the check.
|
static class |
UptimeCheckConfig.CheckRequestTypeCase |
static class |
UptimeCheckConfig.ContentMatcher
Optional.
|
static interface |
UptimeCheckConfig.ContentMatcherOrBuilder |
static class |
UptimeCheckConfig.HttpCheck
Information involved in an HTTP/HTTPS Uptime check request.
|
static interface |
UptimeCheckConfig.HttpCheckOrBuilder |
static class |
UptimeCheckConfig.PingConfig
Information involved in sending ICMP pings alongside public HTTP/TCP
checks.
|
static interface |
UptimeCheckConfig.PingConfigOrBuilder |
static class |
UptimeCheckConfig.ResourceCase |
static class |
UptimeCheckConfig.ResourceGroup
The resource submessage for group checks.
|
static interface |
UptimeCheckConfig.ResourceGroupOrBuilder |
static class |
UptimeCheckConfig.TcpCheck
Information required for a TCP Uptime check request.
|
static interface |
UptimeCheckConfig.TcpCheckOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CHECKER_TYPE_FIELD_NUMBER |
static int |
CONTENT_MATCHERS_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
HTTP_CHECK_FIELD_NUMBER |
static int |
INTERNAL_CHECKERS_FIELD_NUMBER |
static int |
IS_INTERNAL_FIELD_NUMBER |
static int |
MONITORED_RESOURCE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PERIOD_FIELD_NUMBER |
static int |
RESOURCE_GROUP_FIELD_NUMBER |
static int |
SELECTED_REGIONS_FIELD_NUMBER |
static int |
SYNTHETIC_MONITOR_FIELD_NUMBER |
static int |
TCP_CHECK_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
USER_LABELS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsUserLabels(String key)
User-supplied key/value data to be used for organizing and
identifying the `UptimeCheckConfig` objects.
|
boolean |
equals(Object obj) |
UptimeCheckConfig.CheckerType |
getCheckerType()
The type of checkers to use to execute the Uptime check.
|
int |
getCheckerTypeValue()
The type of checkers to use to execute the Uptime check.
|
UptimeCheckConfig.CheckRequestTypeCase |
getCheckRequestTypeCase() |
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.
|
int |
getContentMatchersCount()
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.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.
|
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 UptimeCheckConfig |
getDefaultInstance() |
UptimeCheckConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
A human-friendly name for the Uptime check configuration.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
A human-friendly name for the Uptime check configuration.
|
UptimeCheckConfig.HttpCheck |
getHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
|
UptimeCheckConfig.HttpCheckOrBuilder |
getHttpCheckOrBuilder()
Contains information needed to make an HTTP or HTTPS check.
|
InternalChecker |
getInternalCheckers(int index)
Deprecated.
|
int |
getInternalCheckersCount()
Deprecated.
|
List<InternalChecker> |
getInternalCheckersList()
Deprecated.
|
InternalCheckerOrBuilder |
getInternalCheckersOrBuilder(int index)
Deprecated.
|
List<? extends InternalCheckerOrBuilder> |
getInternalCheckersOrBuilderList()
Deprecated.
|
boolean |
getIsInternal()
Deprecated.
google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See
google/monitoring/v3/uptime.proto;l=545
|
com.google.api.MonitoredResource |
getMonitoredResource()
The [monitored
resource](https://cloud.google.com/monitoring/api/resources) associated
with the configuration.
|
com.google.api.MonitoredResourceOrBuilder |
getMonitoredResourceOrBuilder()
The [monitored
resource](https://cloud.google.com/monitoring/api/resources) associated
with the configuration.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
com.google.protobuf.Parser<UptimeCheckConfig> |
getParserForType() |
com.google.protobuf.Duration |
getPeriod()
How often, in seconds, the Uptime check is performed.
|
com.google.protobuf.DurationOrBuilder |
getPeriodOrBuilder()
How often, in seconds, the Uptime check is performed.
|
UptimeCheckConfig.ResourceCase |
getResourceCase() |
UptimeCheckConfig.ResourceGroup |
getResourceGroup()
The group resource associated with the configuration.
|
UptimeCheckConfig.ResourceGroupOrBuilder |
getResourceGroupOrBuilder()
The group resource associated with the configuration.
|
UptimeCheckRegion |
getSelectedRegions(int index)
The list of regions from which the check will be run.
|
int |
getSelectedRegionsCount()
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.
|
int |
getSelectedRegionsValue(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.
|
int |
getSerializedSize() |
SyntheticMonitorTarget |
getSyntheticMonitor()
Specifies a Synthetic Monitor to invoke.
|
SyntheticMonitorTargetOrBuilder |
getSyntheticMonitorOrBuilder()
Specifies a Synthetic Monitor to invoke.
|
UptimeCheckConfig.TcpCheck |
getTcpCheck()
Contains information needed to make a TCP check.
|
UptimeCheckConfig.TcpCheckOrBuilder |
getTcpCheckOrBuilder()
Contains information needed to make a TCP check.
|
com.google.protobuf.Duration |
getTimeout()
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
|
Map<String,String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
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.
|
String |
getUserLabelsOrDefault(String key,
String defaultValue)
User-supplied key/value data to be used for organizing and
identifying the `UptimeCheckConfig` objects.
|
String |
getUserLabelsOrThrow(String key)
User-supplied key/value data to be used for organizing and
identifying the `UptimeCheckConfig` objects.
|
int |
hashCode() |
boolean |
hasHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
|
boolean |
hasMonitoredResource()
The [monitored
resource](https://cloud.google.com/monitoring/api/resources) associated
with the configuration.
|
boolean |
hasPeriod()
How often, in seconds, the Uptime check is performed.
|
boolean |
hasResourceGroup()
The group resource associated with the configuration.
|
boolean |
hasSyntheticMonitor()
Specifies a Synthetic Monitor to invoke.
|
boolean |
hasTcpCheck()
Contains information needed to make a TCP check.
|
boolean |
hasTimeout()
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static UptimeCheckConfig.Builder |
newBuilder() |
static UptimeCheckConfig.Builder |
newBuilder(UptimeCheckConfig prototype) |
UptimeCheckConfig.Builder |
newBuilderForType() |
protected UptimeCheckConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UptimeCheckConfig |
parseDelimitedFrom(InputStream input) |
static UptimeCheckConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig |
parseFrom(byte[] data) |
static UptimeCheckConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig |
parseFrom(ByteBuffer data) |
static UptimeCheckConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig |
parseFrom(com.google.protobuf.ByteString data) |
static UptimeCheckConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UptimeCheckConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig |
parseFrom(InputStream input) |
static UptimeCheckConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UptimeCheckConfig> |
parser() |
UptimeCheckConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int MONITORED_RESOURCE_FIELD_NUMBER
public static final int RESOURCE_GROUP_FIELD_NUMBER
public static final int SYNTHETIC_MONITOR_FIELD_NUMBER
public static final int HTTP_CHECK_FIELD_NUMBER
public static final int TCP_CHECK_FIELD_NUMBER
public static final int PERIOD_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int CONTENT_MATCHERS_FIELD_NUMBER
public static final int CHECKER_TYPE_FIELD_NUMBER
public static final int SELECTED_REGIONS_FIELD_NUMBER
public static final int IS_INTERNAL_FIELD_NUMBER
public static final int INTERNAL_CHECKERS_FIELD_NUMBER
public static final int USER_LABELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public UptimeCheckConfig.ResourceCase getResourceCase()
getResourceCase in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.CheckRequestTypeCase getCheckRequestTypeCase()
getCheckRequestTypeCase in interface UptimeCheckConfigOrBuilderpublic String 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];getName in interface UptimeCheckConfigOrBuilderpublic 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];getNameBytes in interface UptimeCheckConfigOrBuilderpublic 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;getDisplayName in interface UptimeCheckConfigOrBuilderpublic 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;getDisplayNameBytes in interface UptimeCheckConfigOrBuilderpublic 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;hasMonitoredResource in interface UptimeCheckConfigOrBuilderpublic 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;getMonitoredResource in interface UptimeCheckConfigOrBuilderpublic 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;getMonitoredResourceOrBuilder in interface UptimeCheckConfigOrBuilderpublic boolean hasResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;hasResourceGroup in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.ResourceGroup getResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;getResourceGroup in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;getResourceGroupOrBuilder in interface UptimeCheckConfigOrBuilderpublic boolean hasSyntheticMonitor()
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;hasSyntheticMonitor in interface UptimeCheckConfigOrBuilderpublic SyntheticMonitorTarget getSyntheticMonitor()
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;getSyntheticMonitor in interface UptimeCheckConfigOrBuilderpublic SyntheticMonitorTargetOrBuilder getSyntheticMonitorOrBuilder()
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;getSyntheticMonitorOrBuilder in interface UptimeCheckConfigOrBuilderpublic boolean hasHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;hasHttpCheck in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.HttpCheck getHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;getHttpCheck in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.HttpCheckOrBuilder getHttpCheckOrBuilder()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;getHttpCheckOrBuilder in interface UptimeCheckConfigOrBuilderpublic boolean hasTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;hasTcpCheck in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.TcpCheck getTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;getTcpCheck in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckOrBuilder()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;getTcpCheckOrBuilder in interface UptimeCheckConfigOrBuilderpublic 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;hasPeriod in interface UptimeCheckConfigOrBuilderpublic 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;getPeriod in interface UptimeCheckConfigOrBuilderpublic 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;getPeriodOrBuilder in interface UptimeCheckConfigOrBuilderpublic 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;hasTimeout in interface UptimeCheckConfigOrBuilderpublic 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;getTimeout in interface UptimeCheckConfigOrBuilderpublic 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;getTimeoutOrBuilder in interface UptimeCheckConfigOrBuilderpublic 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;
getContentMatchersList in interface UptimeCheckConfigOrBuilderpublic 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;
getContentMatchersOrBuilderList in interface UptimeCheckConfigOrBuilderpublic 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;
getContentMatchersCount in interface UptimeCheckConfigOrBuilderpublic 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;
getContentMatchers in interface UptimeCheckConfigOrBuilderpublic 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;
getContentMatchersOrBuilder in interface UptimeCheckConfigOrBuilderpublic int getCheckerTypeValue()
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;getCheckerTypeValue in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.CheckerType getCheckerType()
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;getCheckerType in interface UptimeCheckConfigOrBuilderpublic 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;getSelectedRegionsList in interface UptimeCheckConfigOrBuilderpublic 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;getSelectedRegionsCount in interface UptimeCheckConfigOrBuilderpublic 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;getSelectedRegions in interface UptimeCheckConfigOrBuilderindex - The index of the element to return.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;getSelectedRegionsValueList in interface UptimeCheckConfigOrBuilderpublic 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;getSelectedRegionsValue in interface UptimeCheckConfigOrBuilderindex - The index of the value to return.@Deprecated public boolean getIsInternal()
If 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];getIsInternal in interface UptimeCheckConfigOrBuilder@Deprecated public List<InternalChecker> getInternalCheckersList()
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];
getInternalCheckersList in interface UptimeCheckConfigOrBuilder@Deprecated public List<? extends InternalCheckerOrBuilder> getInternalCheckersOrBuilderList()
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];
getInternalCheckersOrBuilderList in interface UptimeCheckConfigOrBuilder@Deprecated public int getInternalCheckersCount()
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];
getInternalCheckersCount in interface UptimeCheckConfigOrBuilder@Deprecated public InternalChecker getInternalCheckers(int index)
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];
getInternalCheckers in interface UptimeCheckConfigOrBuilder@Deprecated public InternalCheckerOrBuilder getInternalCheckersOrBuilder(int index)
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 in interface UptimeCheckConfigOrBuilderpublic int getUserLabelsCount()
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;getUserLabelsCount in interface UptimeCheckConfigOrBuilderpublic 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;containsUserLabels in interface UptimeCheckConfigOrBuilder@Deprecated public Map<String,String> getUserLabels()
getUserLabelsMap() instead.getUserLabels in interface UptimeCheckConfigOrBuilderpublic 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;getUserLabelsMap in interface UptimeCheckConfigOrBuilderpublic 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;getUserLabelsOrDefault in interface UptimeCheckConfigOrBuilderpublic 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;getUserLabelsOrThrow in interface UptimeCheckConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UptimeCheckConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static UptimeCheckConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UptimeCheckConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UptimeCheckConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UptimeCheckConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UptimeCheckConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UptimeCheckConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UptimeCheckConfig.Builder newBuilder()
public static UptimeCheckConfig.Builder newBuilder(UptimeCheckConfig prototype)
public UptimeCheckConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UptimeCheckConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UptimeCheckConfig getDefaultInstance()
public static com.google.protobuf.Parser<UptimeCheckConfig> parser()
public com.google.protobuf.Parser<UptimeCheckConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UptimeCheckConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.