public static final class UptimeCheckConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder> implements UptimeCheckConfigOrBuilder
This message configures which resources and services to monitor for availability.Protobuf type
google.monitoring.v3.UptimeCheckConfig| Modifier and Type | Method and Description |
|---|---|
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.
|
UptimeCheckConfig.Builder |
addAllInternalCheckers(Iterable<? extends InternalChecker> values)
Deprecated.
|
UptimeCheckConfig.Builder |
addAllSelectedRegions(Iterable<? extends UptimeCheckRegion> values)
The list of regions from which the check will be run.
|
UptimeCheckConfig.Builder |
addAllSelectedRegionsValue(Iterable<Integer> values)
The list of regions from which the check will be run.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
UptimeCheckConfig.Builder |
addInternalCheckers(InternalChecker.Builder builderForValue)
Deprecated.
|
UptimeCheckConfig.Builder |
addInternalCheckers(InternalChecker value)
Deprecated.
|
UptimeCheckConfig.Builder |
addInternalCheckers(int index,
InternalChecker.Builder builderForValue)
Deprecated.
|
UptimeCheckConfig.Builder |
addInternalCheckers(int index,
InternalChecker value)
Deprecated.
|
InternalChecker.Builder |
addInternalCheckersBuilder()
Deprecated.
|
InternalChecker.Builder |
addInternalCheckersBuilder(int index)
Deprecated.
|
UptimeCheckConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UptimeCheckConfig.Builder |
addSelectedRegions(UptimeCheckRegion value)
The list of regions from which the check will be run.
|
UptimeCheckConfig.Builder |
addSelectedRegionsValue(int value)
The list of regions from which the check will be run.
|
UptimeCheckConfig |
build() |
UptimeCheckConfig |
buildPartial() |
UptimeCheckConfig.Builder |
clear() |
UptimeCheckConfig.Builder |
clearCheckerType()
The type of checkers to use to execute the Uptime check.
|
UptimeCheckConfig.Builder |
clearCheckRequestType() |
UptimeCheckConfig.Builder |
clearContentMatchers()
The content that is expected to appear in the data returned by the target
server against which the check is run.
|
UptimeCheckConfig.Builder |
clearDisplayName()
A human-friendly name for the Uptime check configuration.
|
UptimeCheckConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UptimeCheckConfig.Builder |
clearHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
|
UptimeCheckConfig.Builder |
clearInternalCheckers()
Deprecated.
|
UptimeCheckConfig.Builder |
clearIsInternal()
Deprecated.
google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See
google/monitoring/v3/uptime.proto;l=545
|
UptimeCheckConfig.Builder |
clearMonitoredResource()
The [monitored
resource](https://cloud.google.com/monitoring/api/resources) associated
with the configuration.
|
UptimeCheckConfig.Builder |
clearName()
Identifier.
|
UptimeCheckConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UptimeCheckConfig.Builder |
clearPeriod()
How often, in seconds, the Uptime check is performed.
|
UptimeCheckConfig.Builder |
clearResource() |
UptimeCheckConfig.Builder |
clearResourceGroup()
The group resource associated with the configuration.
|
UptimeCheckConfig.Builder |
clearSelectedRegions()
The list of regions from which the check will be run.
|
UptimeCheckConfig.Builder |
clearSyntheticMonitor()
Specifies a Synthetic Monitor to invoke.
|
UptimeCheckConfig.Builder |
clearTcpCheck()
Contains information needed to make a TCP check.
|
UptimeCheckConfig.Builder |
clearTimeout()
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
|
UptimeCheckConfig.Builder |
clearUserLabels() |
UptimeCheckConfig.Builder |
clone() |
boolean |
containsUserLabels(String key)
User-supplied key/value data to be used for organizing and
identifying the `UptimeCheckConfig` objects.
|
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.
|
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.
|
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.
|
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.
|
UptimeCheckConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.HttpCheck.Builder |
getHttpCheckBuilder()
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.
|
InternalChecker.Builder |
getInternalCheckersBuilder(int index)
Deprecated.
|
List<InternalChecker.Builder> |
getInternalCheckersBuilderList()
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.MonitoredResource.Builder |
getMonitoredResourceBuilder()
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.
|
Map<String,String> |
getMutableUserLabels()
Deprecated.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
com.google.protobuf.Duration |
getPeriod()
How often, in seconds, the Uptime check is performed.
|
com.google.protobuf.Duration.Builder |
getPeriodBuilder()
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.ResourceGroup.Builder |
getResourceGroupBuilder()
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.
|
SyntheticMonitorTarget |
getSyntheticMonitor()
Specifies a Synthetic Monitor to invoke.
|
SyntheticMonitorTarget.Builder |
getSyntheticMonitorBuilder()
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.TcpCheck.Builder |
getTcpCheckBuilder()
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.Duration.Builder |
getTimeoutBuilder()
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.
|
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) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
UptimeCheckConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UptimeCheckConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
UptimeCheckConfig.Builder |
mergeFrom(UptimeCheckConfig other) |
UptimeCheckConfig.Builder |
mergeHttpCheck(UptimeCheckConfig.HttpCheck value)
Contains information needed to make an HTTP or HTTPS check.
|
UptimeCheckConfig.Builder |
mergeMonitoredResource(com.google.api.MonitoredResource value)
The [monitored
resource](https://cloud.google.com/monitoring/api/resources) associated
with the configuration.
|
UptimeCheckConfig.Builder |
mergePeriod(com.google.protobuf.Duration value)
How often, in seconds, the Uptime check is performed.
|
UptimeCheckConfig.Builder |
mergeResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
|
UptimeCheckConfig.Builder |
mergeSyntheticMonitor(SyntheticMonitorTarget value)
Specifies a Synthetic Monitor to invoke.
|
UptimeCheckConfig.Builder |
mergeTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
|
UptimeCheckConfig.Builder |
mergeTimeout(com.google.protobuf.Duration value)
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
|
UptimeCheckConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UptimeCheckConfig.Builder |
putAllUserLabels(Map<String,String> values)
User-supplied key/value data to be used for organizing and
identifying the `UptimeCheckConfig` objects.
|
UptimeCheckConfig.Builder |
putUserLabels(String key,
String value)
User-supplied key/value data to be used for organizing and
identifying the `UptimeCheckConfig` objects.
|
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.
|
UptimeCheckConfig.Builder |
removeInternalCheckers(int index)
Deprecated.
|
UptimeCheckConfig.Builder |
removeUserLabels(String key)
User-supplied key/value data to be used for organizing and
identifying the `UptimeCheckConfig` objects.
|
UptimeCheckConfig.Builder |
setCheckerType(UptimeCheckConfig.CheckerType value)
The type of checkers to use to execute the Uptime check.
|
UptimeCheckConfig.Builder |
setCheckerTypeValue(int value)
The type of checkers to use to execute the Uptime check.
|
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.
|
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.
|
UptimeCheckConfig.Builder |
setDisplayName(String value)
A human-friendly name for the Uptime check configuration.
|
UptimeCheckConfig.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
A human-friendly name for the Uptime check configuration.
|
UptimeCheckConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UptimeCheckConfig.Builder |
setHttpCheck(UptimeCheckConfig.HttpCheck.Builder builderForValue)
Contains information needed to make an HTTP or HTTPS check.
|
UptimeCheckConfig.Builder |
setHttpCheck(UptimeCheckConfig.HttpCheck value)
Contains information needed to make an HTTP or HTTPS check.
|
UptimeCheckConfig.Builder |
setInternalCheckers(int index,
InternalChecker.Builder builderForValue)
Deprecated.
|
UptimeCheckConfig.Builder |
setInternalCheckers(int index,
InternalChecker value)
Deprecated.
|
UptimeCheckConfig.Builder |
setIsInternal(boolean value)
Deprecated.
google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See
google/monitoring/v3/uptime.proto;l=545
|
UptimeCheckConfig.Builder |
setMonitoredResource(com.google.api.MonitoredResource.Builder builderForValue)
The [monitored
resource](https://cloud.google.com/monitoring/api/resources) associated
with the configuration.
|
UptimeCheckConfig.Builder |
setMonitoredResource(com.google.api.MonitoredResource value)
The [monitored
resource](https://cloud.google.com/monitoring/api/resources) associated
with the configuration.
|
UptimeCheckConfig.Builder |
setName(String value)
Identifier.
|
UptimeCheckConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Identifier.
|
UptimeCheckConfig.Builder |
setPeriod(com.google.protobuf.Duration.Builder builderForValue)
How often, in seconds, the Uptime check is performed.
|
UptimeCheckConfig.Builder |
setPeriod(com.google.protobuf.Duration value)
How often, in seconds, the Uptime check is performed.
|
UptimeCheckConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UptimeCheckConfig.Builder |
setResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue)
The group resource associated with the configuration.
|
UptimeCheckConfig.Builder |
setResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
|
UptimeCheckConfig.Builder |
setSelectedRegions(int index,
UptimeCheckRegion value)
The list of regions from which the check will be run.
|
UptimeCheckConfig.Builder |
setSelectedRegionsValue(int index,
int value)
The list of regions from which the check will be run.
|
UptimeCheckConfig.Builder |
setSyntheticMonitor(SyntheticMonitorTarget.Builder builderForValue)
Specifies a Synthetic Monitor to invoke.
|
UptimeCheckConfig.Builder |
setSyntheticMonitor(SyntheticMonitorTarget value)
Specifies a Synthetic Monitor to invoke.
|
UptimeCheckConfig.Builder |
setTcpCheck(UptimeCheckConfig.TcpCheck.Builder builderForValue)
Contains information needed to make a TCP check.
|
UptimeCheckConfig.Builder |
setTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
|
UptimeCheckConfig.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
|
UptimeCheckConfig.Builder |
setTimeout(com.google.protobuf.Duration value)
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
|
UptimeCheckConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UptimeCheckConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder mergeFrom(UptimeCheckConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public UptimeCheckConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.Builder>IOExceptionpublic UptimeCheckConfig.ResourceCase getResourceCase()
getResourceCase in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.Builder clearResource()
public UptimeCheckConfig.CheckRequestTypeCase getCheckRequestTypeCase()
getCheckRequestTypeCase in interface UptimeCheckConfigOrBuilderpublic UptimeCheckConfig.Builder clearCheckRequestType()
public 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 UptimeCheckConfig.Builder setName(String value)
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];value - The name to set.public UptimeCheckConfig.Builder clearName()
Identifier. A unique resource name for this Uptime check configuration. The
format is:
projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
`[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the
Uptime check.
This field should be omitted when creating the Uptime check configuration;
on create, the resource name is assigned by the server and included in the
response.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];public UptimeCheckConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for name to set.public String getDisplayName()
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;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 UptimeCheckConfig.Builder setDisplayName(String value)
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;value - The displayName to set.public UptimeCheckConfig.Builder clearDisplayName()
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;public UptimeCheckConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for displayName to set.public boolean hasMonitoredResource()
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;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 UptimeCheckConfig.Builder setMonitoredResource(com.google.api.MonitoredResource value)
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;public UptimeCheckConfig.Builder setMonitoredResource(com.google.api.MonitoredResource.Builder builderForValue)
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;public UptimeCheckConfig.Builder mergeMonitoredResource(com.google.api.MonitoredResource value)
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;public UptimeCheckConfig.Builder clearMonitoredResource()
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;public com.google.api.MonitoredResource.Builder getMonitoredResourceBuilder()
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;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.Builder setResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;public UptimeCheckConfig.Builder setResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;public UptimeCheckConfig.Builder mergeResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;public UptimeCheckConfig.Builder clearResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;public UptimeCheckConfig.ResourceGroup.Builder getResourceGroupBuilder()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;public 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 UptimeCheckConfig.Builder setSyntheticMonitor(SyntheticMonitorTarget value)
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;public UptimeCheckConfig.Builder setSyntheticMonitor(SyntheticMonitorTarget.Builder builderForValue)
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;public UptimeCheckConfig.Builder mergeSyntheticMonitor(SyntheticMonitorTarget value)
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;public UptimeCheckConfig.Builder clearSyntheticMonitor()
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;public SyntheticMonitorTarget.Builder getSyntheticMonitorBuilder()
Specifies a Synthetic Monitor to invoke.
.google.monitoring.v3.SyntheticMonitorTarget synthetic_monitor = 21;public 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.Builder setHttpCheck(UptimeCheckConfig.HttpCheck value)
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;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;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;public UptimeCheckConfig.Builder clearHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;public UptimeCheckConfig.HttpCheck.Builder getHttpCheckBuilder()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;public 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.Builder setTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;public UptimeCheckConfig.Builder setTcpCheck(UptimeCheckConfig.TcpCheck.Builder builderForValue)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;public UptimeCheckConfig.Builder mergeTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;public UptimeCheckConfig.Builder clearTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;public UptimeCheckConfig.TcpCheck.Builder getTcpCheckBuilder()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;public 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 UptimeCheckConfig.Builder setPeriod(com.google.protobuf.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;public UptimeCheckConfig.Builder setPeriod(com.google.protobuf.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;public UptimeCheckConfig.Builder mergePeriod(com.google.protobuf.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;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;public com.google.protobuf.Duration.Builder getPeriodBuilder()
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder()
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;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 UptimeCheckConfig.Builder setTimeout(com.google.protobuf.Duration value)
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;public UptimeCheckConfig.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;public UptimeCheckConfig.Builder mergeTimeout(com.google.protobuf.Duration value)
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;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;public com.google.protobuf.Duration.Builder getTimeoutBuilder()
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;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 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.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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getContentMatchersOrBuilder 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 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;
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;
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;
public 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.Builder setCheckerTypeValue(int value)
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;value - The enum numeric value on the wire for checkerType to set.public 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 UptimeCheckConfig.Builder setCheckerType(UptimeCheckConfig.CheckerType value)
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;value - The checkerType to set.public UptimeCheckConfig.Builder clearCheckerType()
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;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;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 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;index - The index to set the value at.value - The selectedRegions to set.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;value - The selectedRegions to add.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;values - The selectedRegions to add.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;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.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;index - The index to set the value at.value - The enum numeric value on the wire for selectedRegions to set.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;value - The enum numeric value on the wire for selectedRegions to add.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;values - The enum numeric values on the wire for selectedRegions to add.@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 UptimeCheckConfig.Builder setIsInternal(boolean value)
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];value - The isInternal to set.@Deprecated public UptimeCheckConfig.Builder clearIsInternal()
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];@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 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 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];
@Deprecated 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];
@Deprecated 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];
@Deprecated 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];
@Deprecated 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];
@Deprecated 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];
@Deprecated 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];
@Deprecated 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];
@Deprecated 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];
@Deprecated 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];
@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 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 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];
@Deprecated 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];
@Deprecated 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];
public 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 UptimeCheckConfig.Builder clearUserLabels()
public UptimeCheckConfig.Builder removeUserLabels(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;@Deprecated public Map<String,String> getMutableUserLabels()
public UptimeCheckConfig.Builder putUserLabels(String key, String value)
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;public UptimeCheckConfig.Builder putAllUserLabels(Map<String,String> values)
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;public final UptimeCheckConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>public final UptimeCheckConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.