Package com.google.monitoring.v3
Class UptimeCheckConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
- com.google.monitoring.v3.UptimeCheckConfig.Builder
-
- All Implemented Interfaces:
UptimeCheckConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UptimeCheckConfig
public static final class UptimeCheckConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder> implements UptimeCheckConfigOrBuilder
This message configures which resources and services to monitor for availability.
Protobuf typegoogle.monitoring.v3.UptimeCheckConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UptimeCheckConfig.BuilderaddAllContentMatchers(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.BuilderaddAllInternalCheckers(Iterable<? extends InternalChecker> values)Deprecated.UptimeCheckConfig.BuilderaddAllSelectedRegions(Iterable<? extends UptimeCheckRegion> values)The list of regions from which the check will be run.UptimeCheckConfig.BuilderaddAllSelectedRegionsValue(Iterable<Integer> values)The list of regions from which the check will be run.UptimeCheckConfig.BuilderaddContentMatchers(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.BuilderaddContentMatchers(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.BuilderaddContentMatchers(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.BuilderaddContentMatchers(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.ContentMatcher.BuilderaddContentMatchersBuilder()The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfig.ContentMatcher.BuilderaddContentMatchersBuilder(int index)The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfig.BuilderaddInternalCheckers(int index, InternalChecker value)Deprecated.UptimeCheckConfig.BuilderaddInternalCheckers(int index, InternalChecker.Builder builderForValue)Deprecated.UptimeCheckConfig.BuilderaddInternalCheckers(InternalChecker value)Deprecated.UptimeCheckConfig.BuilderaddInternalCheckers(InternalChecker.Builder builderForValue)Deprecated.InternalChecker.BuilderaddInternalCheckersBuilder()Deprecated.InternalChecker.BuilderaddInternalCheckersBuilder(int index)Deprecated.UptimeCheckConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UptimeCheckConfig.BuilderaddSelectedRegions(UptimeCheckRegion value)The list of regions from which the check will be run.UptimeCheckConfig.BuilderaddSelectedRegionsValue(int value)The list of regions from which the check will be run.UptimeCheckConfigbuild()UptimeCheckConfigbuildPartial()UptimeCheckConfig.Builderclear()UptimeCheckConfig.BuilderclearCheckerType()The type of checkers to use to execute the Uptime check.UptimeCheckConfig.BuilderclearCheckRequestType()UptimeCheckConfig.BuilderclearContentMatchers()The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfig.BuilderclearDisplayName()A human-friendly name for the Uptime check configuration.UptimeCheckConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UptimeCheckConfig.BuilderclearHttpCheck()Contains information needed to make an HTTP or HTTPS check.UptimeCheckConfig.BuilderclearInternalCheckers()Deprecated.UptimeCheckConfig.BuilderclearIsInternal()Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated.UptimeCheckConfig.BuilderclearMonitoredResource()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.UptimeCheckConfig.BuilderclearName()A unique resource name for this Uptime check configuration.UptimeCheckConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UptimeCheckConfig.BuilderclearPeriod()How often, in seconds, the Uptime check is performed.UptimeCheckConfig.BuilderclearResource()UptimeCheckConfig.BuilderclearResourceGroup()The group resource associated with the configuration.UptimeCheckConfig.BuilderclearSelectedRegions()The list of regions from which the check will be run.UptimeCheckConfig.BuilderclearTcpCheck()Contains information needed to make a TCP check.UptimeCheckConfig.BuilderclearTimeout()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).UptimeCheckConfig.BuilderclearUserLabels()UptimeCheckConfig.Builderclone()booleancontainsUserLabels(String key)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.UptimeCheckConfig.CheckerTypegetCheckerType()The type of checkers to use to execute the Uptime check.intgetCheckerTypeValue()The type of checkers to use to execute the Uptime check.UptimeCheckConfig.CheckRequestTypeCasegetCheckRequestTypeCase()UptimeCheckConfig.ContentMatchergetContentMatchers(int index)The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfig.ContentMatcher.BuildergetContentMatchersBuilder(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.intgetContentMatchersCount()The content that is expected to appear in the data returned by the target server against which the check is run.List<UptimeCheckConfig.ContentMatcher>getContentMatchersList()The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfig.ContentMatcherOrBuildergetContentMatchersOrBuilder(int index)The content that is expected to appear in the data returned by the target server against which the check is run.List<? extends UptimeCheckConfig.ContentMatcherOrBuilder>getContentMatchersOrBuilderList()The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()A human-friendly name for the Uptime check configuration.com.google.protobuf.ByteStringgetDisplayNameBytes()A human-friendly name for the Uptime check configuration.UptimeCheckConfig.HttpCheckgetHttpCheck()Contains information needed to make an HTTP or HTTPS check.UptimeCheckConfig.HttpCheck.BuildergetHttpCheckBuilder()Contains information needed to make an HTTP or HTTPS check.UptimeCheckConfig.HttpCheckOrBuildergetHttpCheckOrBuilder()Contains information needed to make an HTTP or HTTPS check.InternalCheckergetInternalCheckers(int index)Deprecated.InternalChecker.BuildergetInternalCheckersBuilder(int index)Deprecated.List<InternalChecker.Builder>getInternalCheckersBuilderList()Deprecated.intgetInternalCheckersCount()Deprecated.List<InternalChecker>getInternalCheckersList()Deprecated.InternalCheckerOrBuildergetInternalCheckersOrBuilder(int index)Deprecated.List<? extends InternalCheckerOrBuilder>getInternalCheckersOrBuilderList()Deprecated.booleangetIsInternal()Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated.com.google.api.MonitoredResourcegetMonitoredResource()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.com.google.api.MonitoredResource.BuildergetMonitoredResourceBuilder()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.com.google.api.MonitoredResourceOrBuildergetMonitoredResourceOrBuilder()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.Map<String,String>getMutableUserLabels()Deprecated.StringgetName()A unique resource name for this Uptime check configuration.com.google.protobuf.ByteStringgetNameBytes()A unique resource name for this Uptime check configuration.com.google.protobuf.DurationgetPeriod()How often, in seconds, the Uptime check is performed.com.google.protobuf.Duration.BuildergetPeriodBuilder()How often, in seconds, the Uptime check is performed.com.google.protobuf.DurationOrBuildergetPeriodOrBuilder()How often, in seconds, the Uptime check is performed.UptimeCheckConfig.ResourceCasegetResourceCase()UptimeCheckConfig.ResourceGroupgetResourceGroup()The group resource associated with the configuration.UptimeCheckConfig.ResourceGroup.BuildergetResourceGroupBuilder()The group resource associated with the configuration.UptimeCheckConfig.ResourceGroupOrBuildergetResourceGroupOrBuilder()The group resource associated with the configuration.UptimeCheckRegiongetSelectedRegions(int index)The list of regions from which the check will be run.intgetSelectedRegionsCount()The list of regions from which the check will be run.List<UptimeCheckRegion>getSelectedRegionsList()The list of regions from which the check will be run.intgetSelectedRegionsValue(int index)The list of regions from which the check will be run.List<Integer>getSelectedRegionsValueList()The list of regions from which the check will be run.UptimeCheckConfig.TcpCheckgetTcpCheck()Contains information needed to make a TCP check.UptimeCheckConfig.TcpCheck.BuildergetTcpCheckBuilder()Contains information needed to make a TCP check.UptimeCheckConfig.TcpCheckOrBuildergetTcpCheckOrBuilder()Contains information needed to make a TCP check.com.google.protobuf.DurationgetTimeout()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).com.google.protobuf.Duration.BuildergetTimeoutBuilder()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).Map<String,String>getUserLabels()Deprecated.intgetUserLabelsCount()User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.Map<String,String>getUserLabelsMap()User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.StringgetUserLabelsOrDefault(String key, String defaultValue)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.StringgetUserLabelsOrThrow(String key)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.booleanhasHttpCheck()Contains information needed to make an HTTP or HTTPS check.booleanhasMonitoredResource()The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.booleanhasPeriod()How often, in seconds, the Uptime check is performed.booleanhasResourceGroup()The group resource associated with the configuration.booleanhasTcpCheck()Contains information needed to make a TCP check.booleanhasTimeout()The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()UptimeCheckConfig.BuildermergeFrom(UptimeCheckConfig other)UptimeCheckConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UptimeCheckConfig.BuildermergeFrom(com.google.protobuf.Message other)UptimeCheckConfig.BuildermergeHttpCheck(UptimeCheckConfig.HttpCheck value)Contains information needed to make an HTTP or HTTPS check.UptimeCheckConfig.BuildermergeMonitoredResource(com.google.api.MonitoredResource value)The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.UptimeCheckConfig.BuildermergePeriod(com.google.protobuf.Duration value)How often, in seconds, the Uptime check is performed.UptimeCheckConfig.BuildermergeResourceGroup(UptimeCheckConfig.ResourceGroup value)The group resource associated with the configuration.UptimeCheckConfig.BuildermergeTcpCheck(UptimeCheckConfig.TcpCheck value)Contains information needed to make a TCP check.UptimeCheckConfig.BuildermergeTimeout(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.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UptimeCheckConfig.BuilderputAllUserLabels(Map<String,String> values)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.UptimeCheckConfig.BuilderputUserLabels(String key, String value)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.UptimeCheckConfig.BuilderremoveContentMatchers(int index)The content that is expected to appear in the data returned by the target server against which the check is run.UptimeCheckConfig.BuilderremoveInternalCheckers(int index)Deprecated.UptimeCheckConfig.BuilderremoveUserLabels(String key)User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects.UptimeCheckConfig.BuildersetCheckerType(UptimeCheckConfig.CheckerType value)The type of checkers to use to execute the Uptime check.UptimeCheckConfig.BuildersetCheckerTypeValue(int value)The type of checkers to use to execute the Uptime check.UptimeCheckConfig.BuildersetContentMatchers(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.BuildersetContentMatchers(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.BuildersetDisplayName(String value)A human-friendly name for the Uptime check configuration.UptimeCheckConfig.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)A human-friendly name for the Uptime check configuration.UptimeCheckConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UptimeCheckConfig.BuildersetHttpCheck(UptimeCheckConfig.HttpCheck value)Contains information needed to make an HTTP or HTTPS check.UptimeCheckConfig.BuildersetHttpCheck(UptimeCheckConfig.HttpCheck.Builder builderForValue)Contains information needed to make an HTTP or HTTPS check.UptimeCheckConfig.BuildersetInternalCheckers(int index, InternalChecker value)Deprecated.UptimeCheckConfig.BuildersetInternalCheckers(int index, InternalChecker.Builder builderForValue)Deprecated.UptimeCheckConfig.BuildersetIsInternal(boolean value)Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated.UptimeCheckConfig.BuildersetMonitoredResource(com.google.api.MonitoredResource value)The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.UptimeCheckConfig.BuildersetMonitoredResource(com.google.api.MonitoredResource.Builder builderForValue)The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration.UptimeCheckConfig.BuildersetName(String value)A unique resource name for this Uptime check configuration.UptimeCheckConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)A unique resource name for this Uptime check configuration.UptimeCheckConfig.BuildersetPeriod(com.google.protobuf.Duration value)How often, in seconds, the Uptime check is performed.UptimeCheckConfig.BuildersetPeriod(com.google.protobuf.Duration.Builder builderForValue)How often, in seconds, the Uptime check is performed.UptimeCheckConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UptimeCheckConfig.BuildersetResourceGroup(UptimeCheckConfig.ResourceGroup value)The group resource associated with the configuration.UptimeCheckConfig.BuildersetResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue)The group resource associated with the configuration.UptimeCheckConfig.BuildersetSelectedRegions(int index, UptimeCheckRegion value)The list of regions from which the check will be run.UptimeCheckConfig.BuildersetSelectedRegionsValue(int index, int value)The list of regions from which the check will be run.UptimeCheckConfig.BuildersetTcpCheck(UptimeCheckConfig.TcpCheck value)Contains information needed to make a TCP check.UptimeCheckConfig.BuildersetTcpCheck(UptimeCheckConfig.TcpCheck.Builder builderForValue)Contains information needed to make a TCP check.UptimeCheckConfig.BuildersetTimeout(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.BuildersetTimeout(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.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
clear
public UptimeCheckConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
getDefaultInstanceForType
public UptimeCheckConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UptimeCheckConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UptimeCheckConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UptimeCheckConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
setField
public UptimeCheckConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
clearField
public UptimeCheckConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
clearOneof
public UptimeCheckConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
setRepeatedField
public UptimeCheckConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
addRepeatedField
public UptimeCheckConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
mergeFrom
public UptimeCheckConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.Builder>
-
mergeFrom
public UptimeCheckConfig.Builder mergeFrom(UptimeCheckConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
mergeFrom
public UptimeCheckConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.Builder>- Throws:
IOException
-
getResourceCase
public UptimeCheckConfig.ResourceCase getResourceCase()
- Specified by:
getResourceCasein interfaceUptimeCheckConfigOrBuilder
-
clearResource
public UptimeCheckConfig.Builder clearResource()
-
getCheckRequestTypeCase
public UptimeCheckConfig.CheckRequestTypeCase getCheckRequestTypeCase()
- Specified by:
getCheckRequestTypeCasein interfaceUptimeCheckConfigOrBuilder
-
clearCheckRequestType
public UptimeCheckConfig.Builder clearCheckRequestType()
-
getName
public String getName()
A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the Uptime check. This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.string name = 1;- Specified by:
getNamein interfaceUptimeCheckConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the Uptime check. This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.string name = 1;- Specified by:
getNameBytesin interfaceUptimeCheckConfigOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNameBytes
public UptimeCheckConfig.Builder setNameBytes(com.google.protobuf.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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;- Specified by:
getDisplayNamein interfaceUptimeCheckConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceUptimeCheckConfigOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public 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;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
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;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasMonitoredResource
public boolean hasMonitoredResource()
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;- Specified by:
hasMonitoredResourcein interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the monitoredResource field is set.
-
getMonitoredResource
public com.google.api.MonitoredResource getMonitoredResource()
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;- Specified by:
getMonitoredResourcein interfaceUptimeCheckConfigOrBuilder- Returns:
- The monitoredResource.
-
setMonitoredResource
public 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;
-
setMonitoredResource
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;
-
mergeMonitoredResource
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;
-
clearMonitoredResource
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;
-
getMonitoredResourceBuilder
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;
-
getMonitoredResourceOrBuilder
public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
The [monitored resource](https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: `uptime_url`, `gce_instance`, `gae_app`, `aws_ec2_instance`, `aws_elb_load_balancer` `k8s_service` `servicedirectory_service` `cloud_run_revision`
.google.api.MonitoredResource monitored_resource = 3;- Specified by:
getMonitoredResourceOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasResourceGroup
public boolean hasResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
hasResourceGroupin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the resourceGroup field is set.
-
getResourceGroup
public UptimeCheckConfig.ResourceGroup getResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
getResourceGroupin interfaceUptimeCheckConfigOrBuilder- Returns:
- The resourceGroup.
-
setResourceGroup
public UptimeCheckConfig.Builder setResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
-
setResourceGroup
public UptimeCheckConfig.Builder setResourceGroup(UptimeCheckConfig.ResourceGroup.Builder builderForValue)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
-
mergeResourceGroup
public UptimeCheckConfig.Builder mergeResourceGroup(UptimeCheckConfig.ResourceGroup value)
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
-
clearResourceGroup
public UptimeCheckConfig.Builder clearResourceGroup()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
-
getResourceGroupBuilder
public UptimeCheckConfig.ResourceGroup.Builder getResourceGroupBuilder()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
-
getResourceGroupOrBuilder
public UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder()
The group resource associated with the configuration.
.google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;- Specified by:
getResourceGroupOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasHttpCheck
public boolean hasHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;- Specified by:
hasHttpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the httpCheck field is set.
-
getHttpCheck
public UptimeCheckConfig.HttpCheck getHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;- Specified by:
getHttpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- The httpCheck.
-
setHttpCheck
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;
-
setHttpCheck
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;
-
mergeHttpCheck
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;
-
clearHttpCheck
public UptimeCheckConfig.Builder clearHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
-
getHttpCheckBuilder
public UptimeCheckConfig.HttpCheck.Builder getHttpCheckBuilder()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
-
getHttpCheckOrBuilder
public UptimeCheckConfig.HttpCheckOrBuilder getHttpCheckOrBuilder()
Contains information needed to make an HTTP or HTTPS check.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;- Specified by:
getHttpCheckOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasTcpCheck
public boolean hasTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;- Specified by:
hasTcpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the tcpCheck field is set.
-
getTcpCheck
public UptimeCheckConfig.TcpCheck getTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;- Specified by:
getTcpCheckin interfaceUptimeCheckConfigOrBuilder- Returns:
- The tcpCheck.
-
setTcpCheck
public UptimeCheckConfig.Builder setTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
-
setTcpCheck
public UptimeCheckConfig.Builder setTcpCheck(UptimeCheckConfig.TcpCheck.Builder builderForValue)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
-
mergeTcpCheck
public UptimeCheckConfig.Builder mergeTcpCheck(UptimeCheckConfig.TcpCheck value)
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
-
clearTcpCheck
public UptimeCheckConfig.Builder clearTcpCheck()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
-
getTcpCheckBuilder
public UptimeCheckConfig.TcpCheck.Builder getTcpCheckBuilder()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
-
getTcpCheckOrBuilder
public UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckOrBuilder()
Contains information needed to make a TCP check.
.google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;- Specified by:
getTcpCheckOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasPeriod
public boolean hasPeriod()
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;- Specified by:
hasPeriodin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the period field is set.
-
getPeriod
public com.google.protobuf.Duration getPeriod()
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;- Specified by:
getPeriodin interfaceUptimeCheckConfigOrBuilder- Returns:
- The period.
-
setPeriod
public 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;
-
setPeriod
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;
-
mergePeriod
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;
-
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;
-
getPeriodBuilder
public com.google.protobuf.Duration.Builder getPeriodBuilder()
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;
-
getPeriodOrBuilder
public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder()
How often, in seconds, the Uptime check is performed. Currently, the only supported values are `60s` (1 minute), `300s` (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, defaults to `60s`.
.google.protobuf.Duration period = 7;- Specified by:
getPeriodOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
hasTimeout
public boolean hasTimeout()
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;- Specified by:
hasTimeoutin interfaceUptimeCheckConfigOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;- Specified by:
getTimeoutin interfaceUptimeCheckConfigOrBuilder- Returns:
- The timeout.
-
setTimeout
public 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;
-
setTimeout
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;
-
mergeTimeout
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;
-
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;
-
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
.google.protobuf.Duration timeout = 8;- Specified by:
getTimeoutOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchersList
public List<UptimeCheckConfig.ContentMatcher> getContentMatchersList()
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersListin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchersCount
public int getContentMatchersCount()
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersCountin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchers
public UptimeCheckConfig.ContentMatcher getContentMatchers(int index)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersin interfaceUptimeCheckConfigOrBuilder
-
setContentMatchers
public UptimeCheckConfig.Builder setContentMatchers(int index, UptimeCheckConfig.ContentMatcher value)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;
-
setContentMatchers
public UptimeCheckConfig.Builder setContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;
-
addContentMatchers
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;
-
addContentMatchers
public UptimeCheckConfig.Builder addContentMatchers(int index, UptimeCheckConfig.ContentMatcher value)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;
-
addContentMatchers
public UptimeCheckConfig.Builder addContentMatchers(UptimeCheckConfig.ContentMatcher.Builder builderForValue)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;
-
addContentMatchers
public UptimeCheckConfig.Builder addContentMatchers(int index, UptimeCheckConfig.ContentMatcher.Builder builderForValue)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;
-
addAllContentMatchers
public UptimeCheckConfig.Builder addAllContentMatchers(Iterable<? extends UptimeCheckConfig.ContentMatcher> values)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;
-
clearContentMatchers
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;
-
removeContentMatchers
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;
-
getContentMatchersBuilder
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;
-
getContentMatchersOrBuilder
public UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder(int index)
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
getContentMatchersOrBuilderList
public List<? extends UptimeCheckConfig.ContentMatcherOrBuilder> getContentMatchersOrBuilderList()
The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the `content_matchers` list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9;- Specified by:
getContentMatchersOrBuilderListin interfaceUptimeCheckConfigOrBuilder
-
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;
-
addContentMatchersBuilder
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;
-
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;
-
getCheckerTypeValue
public int getCheckerTypeValue()
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Specified by:
getCheckerTypeValuein interfaceUptimeCheckConfigOrBuilder- Returns:
- The enum numeric value on the wire for checkerType.
-
setCheckerTypeValue
public UptimeCheckConfig.Builder setCheckerTypeValue(int value)
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Parameters:
value- The enum numeric value on the wire for checkerType to set.- Returns:
- This builder for chaining.
-
getCheckerType
public UptimeCheckConfig.CheckerType getCheckerType()
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Specified by:
getCheckerTypein interfaceUptimeCheckConfigOrBuilder- Returns:
- The checkerType.
-
setCheckerType
public 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;- Parameters:
value- The checkerType to set.- Returns:
- This builder for chaining.
-
clearCheckerType
public UptimeCheckConfig.Builder clearCheckerType()
The type of checkers to use to execute the Uptime check.
.google.monitoring.v3.UptimeCheckConfig.CheckerType checker_type = 17;- Returns:
- This builder for chaining.
-
getSelectedRegionsList
public List<UptimeCheckRegion> getSelectedRegionsList()
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsListin interfaceUptimeCheckConfigOrBuilder- Returns:
- A list containing the selectedRegions.
-
getSelectedRegionsCount
public int getSelectedRegionsCount()
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsCountin interfaceUptimeCheckConfigOrBuilder- Returns:
- The count of selectedRegions.
-
getSelectedRegions
public UptimeCheckRegion getSelectedRegions(int index)
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsin interfaceUptimeCheckConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The selectedRegions at the given index.
-
setSelectedRegions
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;- Parameters:
index- The index to set the value at.value- The selectedRegions to set.- Returns:
- This builder for chaining.
-
addSelectedRegions
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;- Parameters:
value- The selectedRegions to add.- Returns:
- This builder for chaining.
-
addAllSelectedRegions
public UptimeCheckConfig.Builder addAllSelectedRegions(Iterable<? extends UptimeCheckRegion> values)
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Parameters:
values- The selectedRegions to add.- Returns:
- This builder for chaining.
-
clearSelectedRegions
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;- Returns:
- This builder for chaining.
-
getSelectedRegionsValueList
public List<Integer> getSelectedRegionsValueList()
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsValueListin interfaceUptimeCheckConfigOrBuilder- Returns:
- A list containing the enum numeric values on the wire for selectedRegions.
-
getSelectedRegionsValue
public int getSelectedRegionsValue(int index)
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;- Specified by:
getSelectedRegionsValuein interfaceUptimeCheckConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of selectedRegions at the given index.
-
setSelectedRegionsValue
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;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for selectedRegions to set.- Returns:
- This builder for chaining.
-
addSelectedRegionsValue
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;- Parameters:
value- The enum numeric value on the wire for selectedRegions to add.- Returns:
- This builder for chaining.
-
addAllSelectedRegionsValue
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;- Parameters:
values- The enum numeric values on the wire for selectedRegions to add.- Returns:
- This builder for chaining.
-
getIsInternal
@Deprecated public boolean getIsInternal()
Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=478If this is `true`, then checks are made only from the 'internal_checkers'. If it is `false`, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is `true`, or to provide 'internal_checkers' when is_internal is `false`.
bool is_internal = 15 [deprecated = true];- Specified by:
getIsInternalin interfaceUptimeCheckConfigOrBuilder- Returns:
- The isInternal.
-
setIsInternal
@Deprecated public UptimeCheckConfig.Builder setIsInternal(boolean value)
Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=478If this is `true`, then checks are made only from the 'internal_checkers'. If it is `false`, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is `true`, or to provide 'internal_checkers' when is_internal is `false`.
bool is_internal = 15 [deprecated = true];- Parameters:
value- The isInternal to set.- Returns:
- This builder for chaining.
-
clearIsInternal
@Deprecated public UptimeCheckConfig.Builder clearIsInternal()
Deprecated.google.monitoring.v3.UptimeCheckConfig.is_internal is deprecated. See google/monitoring/v3/uptime.proto;l=478If this is `true`, then checks are made only from the 'internal_checkers'. If it is `false`, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is `true`, or to provide 'internal_checkers' when is_internal is `false`.
bool is_internal = 15 [deprecated = true];- Returns:
- This builder for chaining.
-
getInternalCheckersList
@Deprecated public List<InternalChecker> getInternalCheckersList()
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersListin interfaceUptimeCheckConfigOrBuilder
-
getInternalCheckersCount
@Deprecated public int getInternalCheckersCount()
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersCountin interfaceUptimeCheckConfigOrBuilder
-
getInternalCheckers
@Deprecated public InternalChecker getInternalCheckers(int index)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersin interfaceUptimeCheckConfigOrBuilder
-
setInternalCheckers
@Deprecated public UptimeCheckConfig.Builder setInternalCheckers(int index, InternalChecker value)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
setInternalCheckers
@Deprecated public UptimeCheckConfig.Builder setInternalCheckers(int index, InternalChecker.Builder builderForValue)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
addInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addInternalCheckers(InternalChecker value)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
addInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addInternalCheckers(int index, InternalChecker value)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
addInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addInternalCheckers(InternalChecker.Builder builderForValue)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
addInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addInternalCheckers(int index, InternalChecker.Builder builderForValue)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
addAllInternalCheckers
@Deprecated public UptimeCheckConfig.Builder addAllInternalCheckers(Iterable<? extends InternalChecker> values)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
clearInternalCheckers
@Deprecated public UptimeCheckConfig.Builder clearInternalCheckers()
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
removeInternalCheckers
@Deprecated public UptimeCheckConfig.Builder removeInternalCheckers(int index)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
getInternalCheckersBuilder
@Deprecated public InternalChecker.Builder getInternalCheckersBuilder(int index)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
getInternalCheckersOrBuilder
@Deprecated public InternalCheckerOrBuilder getInternalCheckersOrBuilder(int index)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersOrBuilderin interfaceUptimeCheckConfigOrBuilder
-
getInternalCheckersOrBuilderList
@Deprecated public List<? extends InternalCheckerOrBuilder> getInternalCheckersOrBuilderList()
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];- Specified by:
getInternalCheckersOrBuilderListin interfaceUptimeCheckConfigOrBuilder
-
addInternalCheckersBuilder
@Deprecated public InternalChecker.Builder addInternalCheckersBuilder()
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
addInternalCheckersBuilder
@Deprecated public InternalChecker.Builder addInternalCheckersBuilder(int index)
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
getInternalCheckersBuilderList
@Deprecated public List<InternalChecker.Builder> getInternalCheckersBuilderList()
Deprecated.The internal checkers that this check will egress from. If `is_internal` is `true` and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this `UptimeCheckConfig`.
repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true];
-
getUserLabelsCount
public int getUserLabelsCount()
Description copied from interface:UptimeCheckConfigOrBuilderUser-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsCountin interfaceUptimeCheckConfigOrBuilder
-
containsUserLabels
public boolean containsUserLabels(String key)
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
containsUserLabelsin interfaceUptimeCheckConfigOrBuilder
-
getUserLabels
@Deprecated public Map<String,String> getUserLabels()
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceUptimeCheckConfigOrBuilder
-
getUserLabelsMap
public Map<String,String> getUserLabelsMap()
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsMapin interfaceUptimeCheckConfigOrBuilder
-
getUserLabelsOrDefault
public String getUserLabelsOrDefault(String key, String defaultValue)
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsOrDefaultin interfaceUptimeCheckConfigOrBuilder
-
getUserLabelsOrThrow
public String getUserLabelsOrThrow(String key)
User-supplied key/value data to be used for organizing and identifying the `UptimeCheckConfig` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 20;- Specified by:
getUserLabelsOrThrowin interfaceUptimeCheckConfigOrBuilder
-
clearUserLabels
public UptimeCheckConfig.Builder clearUserLabels()
-
removeUserLabels
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;
-
getMutableUserLabels
@Deprecated public Map<String,String> getMutableUserLabels()
Deprecated.Use alternate mutation accessors instead.
-
putUserLabels
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;
-
putAllUserLabels
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;
-
setUnknownFields
public final UptimeCheckConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
mergeUnknownFields
public final UptimeCheckConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.Builder>
-
-