public static final class UptimeCheckConfig.HttpCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder> implements UptimeCheckConfig.HttpCheckOrBuilder
Information involved in an HTTP/HTTPS Uptime check request.Protobuf type
google.monitoring.v3.UptimeCheckConfig.HttpCheck| Modifier and Type | Method and Description |
|---|---|
UptimeCheckConfig.HttpCheck.Builder |
addAcceptedResponseStatusCodes(int index,
UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder builderForValue)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
addAcceptedResponseStatusCodes(int index,
UptimeCheckConfig.HttpCheck.ResponseStatusCode value)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
addAcceptedResponseStatusCodes(UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder builderForValue)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
addAcceptedResponseStatusCodes(UptimeCheckConfig.HttpCheck.ResponseStatusCode value)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder |
addAcceptedResponseStatusCodesBuilder()
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder |
addAcceptedResponseStatusCodesBuilder(int index)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
addAllAcceptedResponseStatusCodes(Iterable<? extends UptimeCheckConfig.HttpCheck.ResponseStatusCode> values)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UptimeCheckConfig.HttpCheck |
build() |
UptimeCheckConfig.HttpCheck |
buildPartial() |
UptimeCheckConfig.HttpCheck.Builder |
clear() |
UptimeCheckConfig.HttpCheck.Builder |
clearAcceptedResponseStatusCodes()
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
clearAuthInfo()
The authentication information.
|
UptimeCheckConfig.HttpCheck.Builder |
clearAuthMethod() |
UptimeCheckConfig.HttpCheck.Builder |
clearBody()
The request body associated with the HTTP POST request.
|
UptimeCheckConfig.HttpCheck.Builder |
clearContentType()
The content type header to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
clearCustomContentType()
A user provided content type header to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UptimeCheckConfig.HttpCheck.Builder |
clearHeaders() |
UptimeCheckConfig.HttpCheck.Builder |
clearMaskHeaders()
Boolean specifying whether to encrypt the header information.
|
UptimeCheckConfig.HttpCheck.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UptimeCheckConfig.HttpCheck.Builder |
clearPath()
Optional (defaults to "/").
|
UptimeCheckConfig.HttpCheck.Builder |
clearPingConfig()
Contains information needed to add pings to an HTTP check.
|
UptimeCheckConfig.HttpCheck.Builder |
clearPort()
Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
`use_ssl` is `true`).
|
UptimeCheckConfig.HttpCheck.Builder |
clearRequestMethod()
The HTTP request method to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
clearServiceAgentAuthentication()
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
UptimeCheckConfig.HttpCheck.Builder |
clearUseSsl()
If `true`, use HTTPS instead of HTTP to run the check.
|
UptimeCheckConfig.HttpCheck.Builder |
clearValidateSsl()
Boolean specifying whether to include SSL certificate validation as a
part of the Uptime check.
|
UptimeCheckConfig.HttpCheck.Builder |
clone() |
boolean |
containsHeaders(String key)
The list of headers to send as part of the Uptime check request.
|
UptimeCheckConfig.HttpCheck.ResponseStatusCode |
getAcceptedResponseStatusCodes(int index)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder |
getAcceptedResponseStatusCodesBuilder(int index)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
List<UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder> |
getAcceptedResponseStatusCodesBuilderList()
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
int |
getAcceptedResponseStatusCodesCount()
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
List<UptimeCheckConfig.HttpCheck.ResponseStatusCode> |
getAcceptedResponseStatusCodesList()
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.ResponseStatusCodeOrBuilder |
getAcceptedResponseStatusCodesOrBuilder(int index)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
List<? extends UptimeCheckConfig.HttpCheck.ResponseStatusCodeOrBuilder> |
getAcceptedResponseStatusCodesOrBuilderList()
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication |
getAuthInfo()
The authentication information.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
getAuthInfoBuilder()
The authentication information.
|
UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder |
getAuthInfoOrBuilder()
The authentication information.
|
UptimeCheckConfig.HttpCheck.AuthMethodCase |
getAuthMethodCase() |
com.google.protobuf.ByteString |
getBody()
The request body associated with the HTTP POST request.
|
UptimeCheckConfig.HttpCheck.ContentType |
getContentType()
The content type header to use for the check.
|
int |
getContentTypeValue()
The content type header to use for the check.
|
String |
getCustomContentType()
A user provided content type header to use for the check.
|
com.google.protobuf.ByteString |
getCustomContentTypeBytes()
A user provided content type header to use for the check.
|
UptimeCheckConfig.HttpCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getHeaders()
Deprecated.
|
int |
getHeadersCount()
The list of headers to send as part of the Uptime check request.
|
Map<String,String> |
getHeadersMap()
The list of headers to send as part of the Uptime check request.
|
String |
getHeadersOrDefault(String key,
String defaultValue)
The list of headers to send as part of the Uptime check request.
|
String |
getHeadersOrThrow(String key)
The list of headers to send as part of the Uptime check request.
|
boolean |
getMaskHeaders()
Boolean specifying whether to encrypt the header information.
|
Map<String,String> |
getMutableHeaders()
Deprecated.
|
String |
getPath()
Optional (defaults to "/").
|
com.google.protobuf.ByteString |
getPathBytes()
Optional (defaults to "/").
|
UptimeCheckConfig.PingConfig |
getPingConfig()
Contains information needed to add pings to an HTTP check.
|
UptimeCheckConfig.PingConfig.Builder |
getPingConfigBuilder()
Contains information needed to add pings to an HTTP check.
|
UptimeCheckConfig.PingConfigOrBuilder |
getPingConfigOrBuilder()
Contains information needed to add pings to an HTTP check.
|
int |
getPort()
Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
`use_ssl` is `true`).
|
UptimeCheckConfig.HttpCheck.RequestMethod |
getRequestMethod()
The HTTP request method to use for the check.
|
int |
getRequestMethodValue()
The HTTP request method to use for the check.
|
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication |
getServiceAgentAuthentication()
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder |
getServiceAgentAuthenticationBuilder()
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
UptimeCheckConfig.HttpCheck.ServiceAgentAuthenticationOrBuilder |
getServiceAgentAuthenticationOrBuilder()
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
boolean |
getUseSsl()
If `true`, use HTTPS instead of HTTP to run the check.
|
boolean |
getValidateSsl()
Boolean specifying whether to include SSL certificate validation as a
part of the Uptime check.
|
boolean |
hasAuthInfo()
The authentication information.
|
boolean |
hasPingConfig()
Contains information needed to add pings to an HTTP check.
|
boolean |
hasServiceAgentAuthentication()
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
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.HttpCheck.Builder |
mergeAuthInfo(UptimeCheckConfig.HttpCheck.BasicAuthentication value)
The authentication information.
|
UptimeCheckConfig.HttpCheck.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UptimeCheckConfig.HttpCheck.Builder |
mergeFrom(com.google.protobuf.Message other) |
UptimeCheckConfig.HttpCheck.Builder |
mergeFrom(UptimeCheckConfig.HttpCheck other) |
UptimeCheckConfig.HttpCheck.Builder |
mergePingConfig(UptimeCheckConfig.PingConfig value)
Contains information needed to add pings to an HTTP check.
|
UptimeCheckConfig.HttpCheck.Builder |
mergeServiceAgentAuthentication(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication value)
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
UptimeCheckConfig.HttpCheck.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UptimeCheckConfig.HttpCheck.Builder |
putAllHeaders(Map<String,String> values)
The list of headers to send as part of the Uptime check request.
|
UptimeCheckConfig.HttpCheck.Builder |
putHeaders(String key,
String value)
The list of headers to send as part of the Uptime check request.
|
UptimeCheckConfig.HttpCheck.Builder |
removeAcceptedResponseStatusCodes(int index)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
removeHeaders(String key)
The list of headers to send as part of the Uptime check request.
|
UptimeCheckConfig.HttpCheck.Builder |
setAcceptedResponseStatusCodes(int index,
UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder builderForValue)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
setAcceptedResponseStatusCodes(int index,
UptimeCheckConfig.HttpCheck.ResponseStatusCode value)
If present, the check will only pass if the HTTP response status code is
in this set of status codes.
|
UptimeCheckConfig.HttpCheck.Builder |
setAuthInfo(UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder builderForValue)
The authentication information.
|
UptimeCheckConfig.HttpCheck.Builder |
setAuthInfo(UptimeCheckConfig.HttpCheck.BasicAuthentication value)
The authentication information.
|
UptimeCheckConfig.HttpCheck.Builder |
setBody(com.google.protobuf.ByteString value)
The request body associated with the HTTP POST request.
|
UptimeCheckConfig.HttpCheck.Builder |
setContentType(UptimeCheckConfig.HttpCheck.ContentType value)
The content type header to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
setContentTypeValue(int value)
The content type header to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
setCustomContentType(String value)
A user provided content type header to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
setCustomContentTypeBytes(com.google.protobuf.ByteString value)
A user provided content type header to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UptimeCheckConfig.HttpCheck.Builder |
setMaskHeaders(boolean value)
Boolean specifying whether to encrypt the header information.
|
UptimeCheckConfig.HttpCheck.Builder |
setPath(String value)
Optional (defaults to "/").
|
UptimeCheckConfig.HttpCheck.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Optional (defaults to "/").
|
UptimeCheckConfig.HttpCheck.Builder |
setPingConfig(UptimeCheckConfig.PingConfig.Builder builderForValue)
Contains information needed to add pings to an HTTP check.
|
UptimeCheckConfig.HttpCheck.Builder |
setPingConfig(UptimeCheckConfig.PingConfig value)
Contains information needed to add pings to an HTTP check.
|
UptimeCheckConfig.HttpCheck.Builder |
setPort(int value)
Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
`use_ssl` is `true`).
|
UptimeCheckConfig.HttpCheck.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UptimeCheckConfig.HttpCheck.Builder |
setRequestMethod(UptimeCheckConfig.HttpCheck.RequestMethod value)
The HTTP request method to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
setRequestMethodValue(int value)
The HTTP request method to use for the check.
|
UptimeCheckConfig.HttpCheck.Builder |
setServiceAgentAuthentication(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder builderForValue)
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
UptimeCheckConfig.HttpCheck.Builder |
setServiceAgentAuthentication(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication value)
If specified, Uptime will generate and attach an OIDC JWT token for the
Monitoring service agent service account as an `Authorization` header
in the HTTP request when probing.
|
UptimeCheckConfig.HttpCheck.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UptimeCheckConfig.HttpCheck.Builder |
setUseSsl(boolean value)
If `true`, use HTTPS instead of HTTP to run the check.
|
UptimeCheckConfig.HttpCheck.Builder |
setValidateSsl(boolean value)
Boolean specifying whether to include SSL certificate validation as a
part of the Uptime check.
|
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.HttpCheck.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.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.HttpCheck.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.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UptimeCheckConfig.HttpCheck build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckConfig.HttpCheck buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckConfig.HttpCheck.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.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.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.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.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.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.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.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.Builder mergeFrom(UptimeCheckConfig.HttpCheck other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder>public UptimeCheckConfig.HttpCheck.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.HttpCheck.Builder>IOExceptionpublic UptimeCheckConfig.HttpCheck.AuthMethodCase getAuthMethodCase()
getAuthMethodCase in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder clearAuthMethod()
public int getRequestMethodValue()
The HTTP request method to use for the check. If set to `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8;
getRequestMethodValue in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setRequestMethodValue(int value)
The HTTP request method to use for the check. If set to `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8;
value - The enum numeric value on the wire for requestMethod to set.public UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod()
The HTTP request method to use for the check. If set to `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8;
getRequestMethod in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setRequestMethod(UptimeCheckConfig.HttpCheck.RequestMethod value)
The HTTP request method to use for the check. If set to `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8;
value - The requestMethod to set.public UptimeCheckConfig.HttpCheck.Builder clearRequestMethod()
The HTTP request method to use for the check. If set to `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8;
public boolean getUseSsl()
If `true`, use HTTPS instead of HTTP to run the check.
bool use_ssl = 1;getUseSsl in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setUseSsl(boolean value)
If `true`, use HTTPS instead of HTTP to run the check.
bool use_ssl = 1;value - The useSsl to set.public UptimeCheckConfig.HttpCheck.Builder clearUseSsl()
If `true`, use HTTPS instead of HTTP to run the check.
bool use_ssl = 1;public String getPath()
Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the `host` (specified within the `monitored_resource`) and `port` to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
string path = 2;getPath in interface UptimeCheckConfig.HttpCheckOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the `host` (specified within the `monitored_resource`) and `port` to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
string path = 2;getPathBytes in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setPath(String value)
Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the `host` (specified within the `monitored_resource`) and `port` to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
string path = 2;value - The path to set.public UptimeCheckConfig.HttpCheck.Builder clearPath()
Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the `host` (specified within the `monitored_resource`) and `port` to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
string path = 2;public UptimeCheckConfig.HttpCheck.Builder setPathBytes(com.google.protobuf.ByteString value)
Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the `host` (specified within the `monitored_resource`) and `port` to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
string path = 2;value - The bytes for path to set.public int getPort()
Optional (defaults to 80 when `use_ssl` is `false`, and 443 when `use_ssl` is `true`). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the `monitored_resource`) and `path` to construct the full URL.
int32 port = 3;getPort in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setPort(int value)
Optional (defaults to 80 when `use_ssl` is `false`, and 443 when `use_ssl` is `true`). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the `monitored_resource`) and `path` to construct the full URL.
int32 port = 3;value - The port to set.public UptimeCheckConfig.HttpCheck.Builder clearPort()
Optional (defaults to 80 when `use_ssl` is `false`, and 443 when `use_ssl` is `true`). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the `monitored_resource`) and `path` to construct the full URL.
int32 port = 3;public boolean hasAuthInfo()
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
hasAuthInfo in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo()
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
getAuthInfo in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setAuthInfo(UptimeCheckConfig.HttpCheck.BasicAuthentication value)
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
public UptimeCheckConfig.HttpCheck.Builder setAuthInfo(UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder builderForValue)
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
public UptimeCheckConfig.HttpCheck.Builder mergeAuthInfo(UptimeCheckConfig.HttpCheck.BasicAuthentication value)
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
public UptimeCheckConfig.HttpCheck.Builder clearAuthInfo()
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
public UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder getAuthInfoBuilder()
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
public UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder()
The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both `auth_method` and `auth_info`.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
getAuthInfoOrBuilder in interface UptimeCheckConfig.HttpCheckOrBuilderpublic boolean getMaskHeaders()
Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if `mask_headers` is set to `true` then the headers will be obscured with `******.`
bool mask_headers = 5;getMaskHeaders in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setMaskHeaders(boolean value)
Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if `mask_headers` is set to `true` then the headers will be obscured with `******.`
bool mask_headers = 5;value - The maskHeaders to set.public UptimeCheckConfig.HttpCheck.Builder clearMaskHeaders()
Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if `mask_headers` is set to `true` then the headers will be obscured with `******.`
bool mask_headers = 5;public int getHeadersCount()
UptimeCheckConfig.HttpCheckOrBuilderThe list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;getHeadersCount in interface UptimeCheckConfig.HttpCheckOrBuilderpublic boolean containsHeaders(String key)
The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;containsHeaders in interface UptimeCheckConfig.HttpCheckOrBuilder@Deprecated public Map<String,String> getHeaders()
getHeadersMap() instead.getHeaders in interface UptimeCheckConfig.HttpCheckOrBuilderpublic Map<String,String> getHeadersMap()
The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;getHeadersMap in interface UptimeCheckConfig.HttpCheckOrBuilderpublic String getHeadersOrDefault(String key, String defaultValue)
The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;getHeadersOrDefault in interface UptimeCheckConfig.HttpCheckOrBuilderpublic String getHeadersOrThrow(String key)
The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;getHeadersOrThrow in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder clearHeaders()
public UptimeCheckConfig.HttpCheck.Builder removeHeaders(String key)
The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;@Deprecated public Map<String,String> getMutableHeaders()
public UptimeCheckConfig.HttpCheck.Builder putHeaders(String key, String value)
The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;public UptimeCheckConfig.HttpCheck.Builder putAllHeaders(Map<String,String> values)
The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
map<string, string> headers = 6;public int getContentTypeValue()
The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the `headers` field and the `content_type` field. 2. Request method is `GET` and `content_type` is not `TYPE_UNSPECIFIED` 3. Request method is `POST` and `content_type` is `TYPE_UNSPECIFIED`. 4. Request method is `POST` and a "Content-Type" header is provided via `headers` field. The `content_type` field should be used instead.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9;
getContentTypeValue in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setContentTypeValue(int value)
The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the `headers` field and the `content_type` field. 2. Request method is `GET` and `content_type` is not `TYPE_UNSPECIFIED` 3. Request method is `POST` and `content_type` is `TYPE_UNSPECIFIED`. 4. Request method is `POST` and a "Content-Type" header is provided via `headers` field. The `content_type` field should be used instead.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9;
value - The enum numeric value on the wire for contentType to set.public UptimeCheckConfig.HttpCheck.ContentType getContentType()
The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the `headers` field and the `content_type` field. 2. Request method is `GET` and `content_type` is not `TYPE_UNSPECIFIED` 3. Request method is `POST` and `content_type` is `TYPE_UNSPECIFIED`. 4. Request method is `POST` and a "Content-Type" header is provided via `headers` field. The `content_type` field should be used instead.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9;
getContentType in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setContentType(UptimeCheckConfig.HttpCheck.ContentType value)
The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the `headers` field and the `content_type` field. 2. Request method is `GET` and `content_type` is not `TYPE_UNSPECIFIED` 3. Request method is `POST` and `content_type` is `TYPE_UNSPECIFIED`. 4. Request method is `POST` and a "Content-Type" header is provided via `headers` field. The `content_type` field should be used instead.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9;
value - The contentType to set.public UptimeCheckConfig.HttpCheck.Builder clearContentType()
The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the `headers` field and the `content_type` field. 2. Request method is `GET` and `content_type` is not `TYPE_UNSPECIFIED` 3. Request method is `POST` and `content_type` is `TYPE_UNSPECIFIED`. 4. Request method is `POST` and a "Content-Type" header is provided via `headers` field. The `content_type` field should be used instead.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9;
public String getCustomContentType()
A user provided content type header to use for the check. The invalid configurations outlined in the `content_type` field apply to `custom_content_type`, as well as the following: 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not set.
string custom_content_type = 13;getCustomContentType in interface UptimeCheckConfig.HttpCheckOrBuilderpublic com.google.protobuf.ByteString getCustomContentTypeBytes()
A user provided content type header to use for the check. The invalid configurations outlined in the `content_type` field apply to `custom_content_type`, as well as the following: 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not set.
string custom_content_type = 13;getCustomContentTypeBytes in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setCustomContentType(String value)
A user provided content type header to use for the check. The invalid configurations outlined in the `content_type` field apply to `custom_content_type`, as well as the following: 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not set.
string custom_content_type = 13;value - The customContentType to set.public UptimeCheckConfig.HttpCheck.Builder clearCustomContentType()
A user provided content type header to use for the check. The invalid configurations outlined in the `content_type` field apply to `custom_content_type`, as well as the following: 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not set.
string custom_content_type = 13;public UptimeCheckConfig.HttpCheck.Builder setCustomContentTypeBytes(com.google.protobuf.ByteString value)
A user provided content type header to use for the check. The invalid configurations outlined in the `content_type` field apply to `custom_content_type`, as well as the following: 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not set.
string custom_content_type = 13;value - The bytes for customContentType to set.public boolean getValidateSsl()
Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl` to `true` has no effect.
bool validate_ssl = 7;getValidateSsl in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setValidateSsl(boolean value)
Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl` to `true` has no effect.
bool validate_ssl = 7;value - The validateSsl to set.public UptimeCheckConfig.HttpCheck.Builder clearValidateSsl()
Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, setting `validate_ssl` to `true` has no effect.
bool validate_ssl = 7;public com.google.protobuf.ByteString getBody()
The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your `body` data since the field is of `bytes` type.
bytes body = 10;getBody in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setBody(com.google.protobuf.ByteString value)
The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your `body` data since the field is of `bytes` type.
bytes body = 10;value - The body to set.public UptimeCheckConfig.HttpCheck.Builder clearBody()
The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your `body` data since the field is of `bytes` type.
bytes body = 10;public List<UptimeCheckConfig.HttpCheck.ResponseStatusCode> getAcceptedResponseStatusCodesList()
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
getAcceptedResponseStatusCodesList in interface UptimeCheckConfig.HttpCheckOrBuilderpublic int getAcceptedResponseStatusCodesCount()
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
getAcceptedResponseStatusCodesCount in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.ResponseStatusCode getAcceptedResponseStatusCodes(int index)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
getAcceptedResponseStatusCodes in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setAcceptedResponseStatusCodes(int index, UptimeCheckConfig.HttpCheck.ResponseStatusCode value)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder setAcceptedResponseStatusCodes(int index, UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder builderForValue)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder addAcceptedResponseStatusCodes(UptimeCheckConfig.HttpCheck.ResponseStatusCode value)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder addAcceptedResponseStatusCodes(int index, UptimeCheckConfig.HttpCheck.ResponseStatusCode value)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder addAcceptedResponseStatusCodes(UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder builderForValue)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder addAcceptedResponseStatusCodes(int index, UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder builderForValue)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder addAllAcceptedResponseStatusCodes(Iterable<? extends UptimeCheckConfig.HttpCheck.ResponseStatusCode> values)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder clearAcceptedResponseStatusCodes()
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.Builder removeAcceptedResponseStatusCodes(int index)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder getAcceptedResponseStatusCodesBuilder(int index)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.ResponseStatusCodeOrBuilder getAcceptedResponseStatusCodesOrBuilder(int index)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
getAcceptedResponseStatusCodesOrBuilder in interface UptimeCheckConfig.HttpCheckOrBuilderpublic List<? extends UptimeCheckConfig.HttpCheck.ResponseStatusCodeOrBuilder> getAcceptedResponseStatusCodesOrBuilderList()
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
getAcceptedResponseStatusCodesOrBuilderList in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder addAcceptedResponseStatusCodesBuilder()
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder addAcceptedResponseStatusCodesBuilder(int index)
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public List<UptimeCheckConfig.HttpCheck.ResponseStatusCode.Builder> getAcceptedResponseStatusCodesBuilderList()
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
repeated .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode accepted_response_status_codes = 11;
public boolean hasPingConfig()
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;hasPingConfig in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.PingConfig getPingConfig()
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;getPingConfig in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setPingConfig(UptimeCheckConfig.PingConfig value)
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;public UptimeCheckConfig.HttpCheck.Builder setPingConfig(UptimeCheckConfig.PingConfig.Builder builderForValue)
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;public UptimeCheckConfig.HttpCheck.Builder mergePingConfig(UptimeCheckConfig.PingConfig value)
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;public UptimeCheckConfig.HttpCheck.Builder clearPingConfig()
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;public UptimeCheckConfig.PingConfig.Builder getPingConfigBuilder()
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;public UptimeCheckConfig.PingConfigOrBuilder getPingConfigOrBuilder()
Contains information needed to add pings to an HTTP check.
.google.monitoring.v3.UptimeCheckConfig.PingConfig ping_config = 12;getPingConfigOrBuilder in interface UptimeCheckConfig.HttpCheckOrBuilderpublic boolean hasServiceAgentAuthentication()
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
hasServiceAgentAuthentication in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication getServiceAgentAuthentication()
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
getServiceAgentAuthentication in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.Builder setServiceAgentAuthentication(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication value)
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
public UptimeCheckConfig.HttpCheck.Builder setServiceAgentAuthentication(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder builderForValue)
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
public UptimeCheckConfig.HttpCheck.Builder mergeServiceAgentAuthentication(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication value)
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
public UptimeCheckConfig.HttpCheck.Builder clearServiceAgentAuthentication()
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder getServiceAgentAuthenticationBuilder()
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
public UptimeCheckConfig.HttpCheck.ServiceAgentAuthenticationOrBuilder getServiceAgentAuthenticationOrBuilder()
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an `Authorization` header in the HTTP request when probing.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication service_agent_authentication = 14;
getServiceAgentAuthenticationOrBuilder in interface UptimeCheckConfig.HttpCheckOrBuilderpublic final UptimeCheckConfig.HttpCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder>public final UptimeCheckConfig.HttpCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.HttpCheck.Builder>Copyright © 2025 Google LLC. All rights reserved.