- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class UptimeCheckConfig.Builder extends GeneratedMessageV3.Builder<UptimeCheckConfig.Builder> implements UptimeCheckConfigOrBuilder
This message configures which resources and services to monitor for availability.
Protobuf type google.monitoring.v3.UptimeCheckConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UptimeCheckConfig.BuilderImplements
UptimeCheckConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllContentMatchers(Iterable<? extends UptimeCheckConfig.ContentMatcher> values)
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;
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher> |
Type | Description |
UptimeCheckConfig.Builder |
addAllInternalCheckers(Iterable<? extends InternalChecker> values)
public UptimeCheckConfig.Builder addAllInternalCheckers(Iterable<? extends InternalChecker> values)
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];
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.InternalChecker> |
Type | Description |
UptimeCheckConfig.Builder |
addAllSelectedRegions(Iterable<? extends UptimeCheckRegion> values)
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;
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.UptimeCheckRegion> The selectedRegions to add. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
addAllSelectedRegionsValue(Iterable<Integer> values)
public UptimeCheckConfig.Builder addAllSelectedRegionsValue(Iterable<Integer> 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;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for selectedRegions to add. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
addContentMatchers(UptimeCheckConfig.ContentMatcher value)
public UptimeCheckConfig.Builder addContentMatchers(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;
Name | Description |
value | UptimeCheckConfig.ContentMatcher |
Type | Description |
UptimeCheckConfig.Builder |
addContentMatchers(UptimeCheckConfig.ContentMatcher.Builder builderForValue)
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;
Name | Description |
builderForValue | UptimeCheckConfig.ContentMatcher.Builder |
Type | Description |
UptimeCheckConfig.Builder |
addContentMatchers(int index, UptimeCheckConfig.ContentMatcher value)
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;
Name | Description |
index | int |
value | UptimeCheckConfig.ContentMatcher |
Type | Description |
UptimeCheckConfig.Builder |
addContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | UptimeCheckConfig.ContentMatcher.Builder |
Type | Description |
UptimeCheckConfig.Builder |
addContentMatchersBuilder()
public UptimeCheckConfig.ContentMatcher.Builder 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;
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
addContentMatchersBuilder(int index)
public UptimeCheckConfig.ContentMatcher.Builder addContentMatchersBuilder(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;
Name | Description |
index | int |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
addInternalCheckers(InternalChecker value)
public UptimeCheckConfig.Builder addInternalCheckers(InternalChecker value)
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];
Name | Description |
value | InternalChecker |
Type | Description |
UptimeCheckConfig.Builder |
addInternalCheckers(InternalChecker.Builder builderForValue)
public UptimeCheckConfig.Builder addInternalCheckers(InternalChecker.Builder builderForValue)
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];
Name | Description |
builderForValue | InternalChecker.Builder |
Type | Description |
UptimeCheckConfig.Builder |
addInternalCheckers(int index, InternalChecker value)
public UptimeCheckConfig.Builder addInternalCheckers(int index, InternalChecker value)
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];
Name | Description |
index | int |
value | InternalChecker |
Type | Description |
UptimeCheckConfig.Builder |
addInternalCheckers(int index, InternalChecker.Builder builderForValue)
public UptimeCheckConfig.Builder addInternalCheckers(int index, InternalChecker.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | InternalChecker.Builder |
Type | Description |
UptimeCheckConfig.Builder |
addInternalCheckersBuilder()
public InternalChecker.Builder addInternalCheckersBuilder()
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];
Type | Description |
InternalChecker.Builder |
addInternalCheckersBuilder(int index)
public InternalChecker.Builder addInternalCheckersBuilder(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];
Name | Description |
index | int |
Type | Description |
InternalChecker.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UptimeCheckConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UptimeCheckConfig.Builder |
addSelectedRegions(UptimeCheckRegion value)
public UptimeCheckConfig.Builder addSelectedRegions(UptimeCheckRegion value)
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;
Name | Description |
value | UptimeCheckRegion The selectedRegions to add. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
addSelectedRegionsValue(int value)
public UptimeCheckConfig.Builder addSelectedRegionsValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for selectedRegions to add. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
build()
public UptimeCheckConfig build()
Type | Description |
UptimeCheckConfig |
buildPartial()
public UptimeCheckConfig buildPartial()
Type | Description |
UptimeCheckConfig |
clear()
public UptimeCheckConfig.Builder clear()
Type | Description |
UptimeCheckConfig.Builder |
clearCheckRequestType()
public UptimeCheckConfig.Builder clearCheckRequestType()
Type | Description |
UptimeCheckConfig.Builder |
clearContentMatchers()
public UptimeCheckConfig.Builder 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;
Type | Description |
UptimeCheckConfig.Builder |
clearDisplayName()
public UptimeCheckConfig.Builder clearDisplayName()
A human-friendly name for the Uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UptimeCheckConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UptimeCheckConfig.Builder |
clearHttpCheck()
public UptimeCheckConfig.Builder clearHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Type | Description |
UptimeCheckConfig.Builder |
clearInternalCheckers()
public UptimeCheckConfig.Builder clearInternalCheckers()
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];
Type | Description |
UptimeCheckConfig.Builder |
clearIsInternal() (deprecated)
public UptimeCheckConfig.Builder clearIsInternal()
Deprecated. google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=359
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];
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
clearMonitoredResource()
public UptimeCheckConfig.Builder clearMonitoredResource()
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Type | Description |
UptimeCheckConfig.Builder |
clearName()
public UptimeCheckConfig.Builder clearName()
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;
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UptimeCheckConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UptimeCheckConfig.Builder |
clearPeriod()
public UptimeCheckConfig.Builder 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;
Type | Description |
UptimeCheckConfig.Builder |
clearResource()
public UptimeCheckConfig.Builder clearResource()
Type | Description |
UptimeCheckConfig.Builder |
clearResourceGroup()
public UptimeCheckConfig.Builder clearResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Type | Description |
UptimeCheckConfig.Builder |
clearSelectedRegions()
public UptimeCheckConfig.Builder 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;
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
clearTcpCheck()
public UptimeCheckConfig.Builder clearTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Type | Description |
UptimeCheckConfig.Builder |
clearTimeout()
public UptimeCheckConfig.Builder 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;
Type | Description |
UptimeCheckConfig.Builder |
clone()
public UptimeCheckConfig.Builder clone()
Type | Description |
UptimeCheckConfig.Builder |
getCheckRequestTypeCase()
public UptimeCheckConfig.CheckRequestTypeCase getCheckRequestTypeCase()
Type | Description |
UptimeCheckConfig.CheckRequestTypeCase |
getContentMatchers(int index)
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;
Name | Description |
index | int |
Type | Description |
UptimeCheckConfig.ContentMatcher |
getContentMatchersBuilder(int index)
public UptimeCheckConfig.ContentMatcher.Builder getContentMatchersBuilder(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;
Name | Description |
index | int |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
getContentMatchersBuilderList()
public List<UptimeCheckConfig.ContentMatcher.Builder> 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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<ContentMatcher> |
getContentMatchersOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
UptimeCheckConfig.ContentMatcherOrBuilder |
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;
Type | Description |
List<? extends com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> |
getDefaultInstanceForType()
public UptimeCheckConfig getDefaultInstanceForType()
Type | Description |
UptimeCheckConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
A human-friendly name for the Uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
A human-friendly name for the Uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getHttpCheck()
public UptimeCheckConfig.HttpCheck getHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Type | Description |
UptimeCheckConfig.HttpCheck | The httpCheck. |
getHttpCheckBuilder()
public UptimeCheckConfig.HttpCheck.Builder getHttpCheckBuilder()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Type | Description |
UptimeCheckConfig.HttpCheck.Builder |
getHttpCheckOrBuilder()
public UptimeCheckConfig.HttpCheckOrBuilder getHttpCheckOrBuilder()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Type | Description |
UptimeCheckConfig.HttpCheckOrBuilder |
getInternalCheckers(int index)
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];
Name | Description |
index | int |
Type | Description |
InternalChecker |
getInternalCheckersBuilder(int index)
public InternalChecker.Builder getInternalCheckersBuilder(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];
Name | Description |
index | int |
Type | Description |
InternalChecker.Builder |
getInternalCheckersBuilderList()
public List<InternalChecker.Builder> getInternalCheckersBuilderList()
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];
Type | Description |
List<Builder> |
getInternalCheckersCount()
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];
Type | Description |
int |
getInternalCheckersList()
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];
Type | Description |
List<InternalChecker> |
getInternalCheckersOrBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
InternalCheckerOrBuilder |
getInternalCheckersOrBuilderList()
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];
Type | Description |
List<? extends com.google.monitoring.v3.InternalCheckerOrBuilder> |
getIsInternal() (deprecated)
public boolean getIsInternal()
Deprecated. google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=359
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];
Type | Description |
boolean | The isInternal. |
getMonitoredResource()
public MonitoredResource getMonitoredResource()
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Type | Description |
com.google.api.MonitoredResource | The monitoredResource. |
getMonitoredResourceBuilder()
public MonitoredResource.Builder getMonitoredResourceBuilder()
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Type | Description |
com.google.api.MonitoredResource.Builder |
getMonitoredResourceOrBuilder()
public MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Type | Description |
com.google.api.MonitoredResourceOrBuilder |
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;
Type | Description |
String | The name. |
getNameBytes()
public 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;
Type | Description |
ByteString | The bytes for name. |
getPeriod()
public 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;
Type | Description |
Duration | The period. |
getPeriodBuilder()
public 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;
Type | Description |
Builder |
getPeriodOrBuilder()
public 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;
Type | Description |
DurationOrBuilder |
getResourceCase()
public UptimeCheckConfig.ResourceCase getResourceCase()
Type | Description |
UptimeCheckConfig.ResourceCase |
getResourceGroup()
public UptimeCheckConfig.ResourceGroup getResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Type | Description |
UptimeCheckConfig.ResourceGroup | The resourceGroup. |
getResourceGroupBuilder()
public UptimeCheckConfig.ResourceGroup.Builder getResourceGroupBuilder()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Type | Description |
UptimeCheckConfig.ResourceGroup.Builder |
getResourceGroupOrBuilder()
public UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Type | Description |
UptimeCheckConfig.ResourceGroupOrBuilder |
getSelectedRegions(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
UptimeCheckRegion | The selectedRegions at the given index. |
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;
Type | Description |
int | The count of selectedRegions. |
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;
Type | Description |
List<UptimeCheckRegion> | A list containing the selectedRegions. |
getSelectedRegionsValue(int index)
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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of 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;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for selectedRegions. |
getTcpCheck()
public UptimeCheckConfig.TcpCheck getTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Type | Description |
UptimeCheckConfig.TcpCheck | The tcpCheck. |
getTcpCheckBuilder()
public UptimeCheckConfig.TcpCheck.Builder getTcpCheckBuilder()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Type | Description |
UptimeCheckConfig.TcpCheck.Builder |
getTcpCheckOrBuilder()
public UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckOrBuilder()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Type | Description |
UptimeCheckConfig.TcpCheckOrBuilder |
getTimeout()
public 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;
Type | Description |
Duration | The timeout. |
getTimeoutBuilder()
public 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;
Type | Description |
Builder |
getTimeoutOrBuilder()
public 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;
Type | Description |
DurationOrBuilder |
hasHttpCheck()
public boolean hasHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Type | Description |
boolean | Whether the httpCheck field is set. |
hasMonitoredResource()
public boolean hasMonitoredResource()
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Type | Description |
boolean | Whether the monitoredResource field is set. |
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;
Type | Description |
boolean | Whether the period field is set. |
hasResourceGroup()
public boolean hasResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Type | Description |
boolean | Whether the resourceGroup field is set. |
hasTcpCheck()
public boolean hasTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Type | Description |
boolean | Whether the tcpCheck field is set. |
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;
Type | Description |
boolean | Whether the timeout field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(UptimeCheckConfig other)
public UptimeCheckConfig.Builder mergeFrom(UptimeCheckConfig other)
Name | Description |
other | UptimeCheckConfig |
Type | Description |
UptimeCheckConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UptimeCheckConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UptimeCheckConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UptimeCheckConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UptimeCheckConfig.Builder |
mergeHttpCheck(UptimeCheckConfig.HttpCheck value)
public UptimeCheckConfig.Builder mergeHttpCheck(UptimeCheckConfig.HttpCheck value)
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Name | Description |
value | UptimeCheckConfig.HttpCheck |
Type | Description |
UptimeCheckConfig.Builder |
mergeMonitoredResource(MonitoredResource value)
public UptimeCheckConfig.Builder mergeMonitoredResource(MonitoredResource value)
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Name | Description |
value | com.google.api.MonitoredResource |
Type | Description |
UptimeCheckConfig.Builder |
mergePeriod(Duration value)
public UptimeCheckConfig.Builder mergePeriod(Duration value)
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;
Name | Description |
value | Duration |
Type | Description |
UptimeCheckConfig.Builder |
mergeResourceGroup(UptimeCheckConfig.ResourceGroup value)
public UptimeCheckConfig.Builder mergeResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Name | Description |
value | UptimeCheckConfig.ResourceGroup |
Type | Description |
UptimeCheckConfig.Builder |
mergeTcpCheck(UptimeCheckConfig.TcpCheck value)
public UptimeCheckConfig.Builder mergeTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Name | Description |
value | UptimeCheckConfig.TcpCheck |
Type | Description |
UptimeCheckConfig.Builder |
mergeTimeout(Duration value)
public UptimeCheckConfig.Builder mergeTimeout(Duration value)
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;
Name | Description |
value | Duration |
Type | Description |
UptimeCheckConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UptimeCheckConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UptimeCheckConfig.Builder |
removeContentMatchers(int index)
public UptimeCheckConfig.Builder removeContentMatchers(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;
Name | Description |
index | int |
Type | Description |
UptimeCheckConfig.Builder |
removeInternalCheckers(int index)
public UptimeCheckConfig.Builder removeInternalCheckers(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];
Name | Description |
index | int |
Type | Description |
UptimeCheckConfig.Builder |
setContentMatchers(int index, UptimeCheckConfig.ContentMatcher value)
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;
Name | Description |
index | int |
value | UptimeCheckConfig.ContentMatcher |
Type | Description |
UptimeCheckConfig.Builder |
setContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | UptimeCheckConfig.ContentMatcher.Builder |
Type | Description |
UptimeCheckConfig.Builder |
setDisplayName(String value)
public UptimeCheckConfig.Builder setDisplayName(String value)
A human-friendly name for the Uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public UptimeCheckConfig.Builder setDisplayNameBytes(ByteString value)
A human-friendly name for the Uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UptimeCheckConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UptimeCheckConfig.Builder |
setHttpCheck(UptimeCheckConfig.HttpCheck value)
public UptimeCheckConfig.Builder setHttpCheck(UptimeCheckConfig.HttpCheck value)
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Name | Description |
value | UptimeCheckConfig.HttpCheck |
Type | Description |
UptimeCheckConfig.Builder |
setHttpCheck(UptimeCheckConfig.HttpCheck.Builder builderForValue)
public UptimeCheckConfig.Builder setHttpCheck(UptimeCheckConfig.HttpCheck.Builder builderForValue)
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
Name | Description |
builderForValue | UptimeCheckConfig.HttpCheck.Builder |
Type | Description |
UptimeCheckConfig.Builder |
setInternalCheckers(int index, InternalChecker value)
public UptimeCheckConfig.Builder setInternalCheckers(int index, InternalChecker value)
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];
Name | Description |
index | int |
value | InternalChecker |
Type | Description |
UptimeCheckConfig.Builder |
setInternalCheckers(int index, InternalChecker.Builder builderForValue)
public UptimeCheckConfig.Builder setInternalCheckers(int index, InternalChecker.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | InternalChecker.Builder |
Type | Description |
UptimeCheckConfig.Builder |
setIsInternal(boolean value) (deprecated)
public UptimeCheckConfig.Builder setIsInternal(boolean value)
Deprecated. google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=359
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];
Name | Description |
value | boolean The isInternal to set. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
setMonitoredResource(MonitoredResource value)
public UptimeCheckConfig.Builder setMonitoredResource(MonitoredResource value)
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Name | Description |
value | com.google.api.MonitoredResource |
Type | Description |
UptimeCheckConfig.Builder |
setMonitoredResource(MonitoredResource.Builder builderForValue)
public UptimeCheckConfig.Builder setMonitoredResource(MonitoredResource.Builder builderForValue)
The monitored
resource 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
.google.api.MonitoredResource monitored_resource = 3;
Name | Description |
builderForValue | com.google.api.MonitoredResource.Builder |
Type | Description |
UptimeCheckConfig.Builder |
setName(String value)
public UptimeCheckConfig.Builder setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public UptimeCheckConfig.Builder setNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
setPeriod(Duration value)
public UptimeCheckConfig.Builder setPeriod(Duration value)
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;
Name | Description |
value | Duration |
Type | Description |
UptimeCheckConfig.Builder |
setPeriod(Duration.Builder builderForValue)
public UptimeCheckConfig.Builder setPeriod(Duration.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
UptimeCheckConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UptimeCheckConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UptimeCheckConfig.Builder |
setResourceGroup(UptimeCheckConfig.ResourceGroup value)
public UptimeCheckConfig.Builder setResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Name | Description |
value | UptimeCheckConfig.ResourceGroup |
Type | Description |
UptimeCheckConfig.Builder |
setResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue)
public UptimeCheckConfig.Builder setResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
Name | Description |
builderForValue | UptimeCheckConfig.ResourceGroup.Builder |
Type | Description |
UptimeCheckConfig.Builder |
setSelectedRegions(int index, UptimeCheckRegion value)
public UptimeCheckConfig.Builder setSelectedRegions(int index, UptimeCheckRegion value)
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;
Name | Description |
index | int The index to set the value at. |
value | UptimeCheckRegion The selectedRegions to set. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
setSelectedRegionsValue(int index, int value)
public UptimeCheckConfig.Builder setSelectedRegionsValue(int index, int value)
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;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for selectedRegions to set. |
Type | Description |
UptimeCheckConfig.Builder | This builder for chaining. |
setTcpCheck(UptimeCheckConfig.TcpCheck value)
public UptimeCheckConfig.Builder setTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Name | Description |
value | UptimeCheckConfig.TcpCheck |
Type | Description |
UptimeCheckConfig.Builder |
setTcpCheck(UptimeCheckConfig.TcpCheck.Builder builderForValue)
public UptimeCheckConfig.Builder setTcpCheck(UptimeCheckConfig.TcpCheck.Builder builderForValue)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
Name | Description |
builderForValue | UptimeCheckConfig.TcpCheck.Builder |
Type | Description |
UptimeCheckConfig.Builder |
setTimeout(Duration value)
public UptimeCheckConfig.Builder setTimeout(Duration value)
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;
Name | Description |
value | Duration |
Type | Description |
UptimeCheckConfig.Builder |
setTimeout(Duration.Builder builderForValue)
public UptimeCheckConfig.Builder setTimeout(Duration.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
UptimeCheckConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UptimeCheckConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UptimeCheckConfig.Builder |