public static final class UptimeCheckConfig.HttpCheck extends GeneratedMessageV3 implements UptimeCheckConfig.HttpCheckOrBuilder
Information involved in an HTTP/HTTPS uptime check request.Protobuf type
google.monitoring.v3.UptimeCheckConfig.HttpCheck| Modifier and Type | Class and Description |
|---|---|
static class |
UptimeCheckConfig.HttpCheck.BasicAuthentication
A type of authentication to perform against the specified resource or URL
that uses username and password.
|
static interface |
UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder |
static class |
UptimeCheckConfig.HttpCheck.Builder
Information involved in an HTTP/HTTPS uptime check request.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_INFO_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
MASK_HEADERS_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
USE_SSL_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsHeaders(java.lang.String key)
The list of headers to send as part of the uptime check request.
|
boolean |
equals(java.lang.Object obj) |
UptimeCheckConfig.HttpCheck.BasicAuthentication |
getAuthInfo()
The authentication information.
|
UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder |
getAuthInfoOrBuilder()
The authentication information.
|
static UptimeCheckConfig.HttpCheck |
getDefaultInstance() |
UptimeCheckConfig.HttpCheck |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders()
Deprecated.
|
int |
getHeadersCount()
The list of headers to send as part of the uptime check request.
|
java.util.Map<java.lang.String,java.lang.String> |
getHeadersMap()
The list of headers to send as part of the uptime check request.
|
java.lang.String |
getHeadersOrDefault(java.lang.String key,
java.lang.String defaultValue)
The list of headers to send as part of the uptime check request.
|
java.lang.String |
getHeadersOrThrow(java.lang.String key)
The list of headers to send as part of the uptime check request.
|
boolean |
getMaskHeaders()
Boolean specifiying whether to encrypt the header information.
|
Parser<UptimeCheckConfig.HttpCheck> |
getParserForType() |
java.lang.String |
getPath()
The path to the page to run the check against.
|
ByteString |
getPathBytes()
The path to the page to run the check against.
|
int |
getPort()
The port to the page to run the check against.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
getUseSsl()
If true, use HTTPS instead of HTTP to run the check.
|
boolean |
hasAuthInfo()
The authentication information.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static UptimeCheckConfig.HttpCheck.Builder |
newBuilder() |
static UptimeCheckConfig.HttpCheck.Builder |
newBuilder(UptimeCheckConfig.HttpCheck prototype) |
UptimeCheckConfig.HttpCheck.Builder |
newBuilderForType() |
protected UptimeCheckConfig.HttpCheck.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static UptimeCheckConfig.HttpCheck |
parseDelimitedFrom(java.io.InputStream input) |
static UptimeCheckConfig.HttpCheck |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.HttpCheck |
parseFrom(byte[] data) |
static UptimeCheckConfig.HttpCheck |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.HttpCheck |
parseFrom(java.nio.ByteBuffer data) |
static UptimeCheckConfig.HttpCheck |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.HttpCheck |
parseFrom(ByteString data) |
static UptimeCheckConfig.HttpCheck |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.HttpCheck |
parseFrom(CodedInputStream input) |
static UptimeCheckConfig.HttpCheck |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.HttpCheck |
parseFrom(java.io.InputStream input) |
static UptimeCheckConfig.HttpCheck |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<UptimeCheckConfig.HttpCheck> |
parser() |
UptimeCheckConfig.HttpCheck.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int USE_SSL_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int AUTH_INFO_FIELD_NUMBER
public static final int MASK_HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean getUseSsl()
If true, use HTTPS instead of HTTP to run the check.
bool use_ssl = 1;getUseSsl in interface UptimeCheckConfig.HttpCheckOrBuilderpublic java.lang.String getPath()
The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. Optional (defaults to "/").
string path = 2;getPath in interface UptimeCheckConfig.HttpCheckOrBuilderpublic ByteString getPathBytes()
The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. Optional (defaults to "/").
string path = 2;getPathBytes in interface UptimeCheckConfig.HttpCheckOrBuilderpublic int getPort()
The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL).
int32 port = 3;getPort in interface UptimeCheckConfig.HttpCheckOrBuilderpublic boolean hasAuthInfo()
The authentication information. Optional when creating an HTTP check; defaults to empty.
.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.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;getAuthInfo in interface UptimeCheckConfig.HttpCheckOrBuilderpublic UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder()
The authentication information. Optional when creating an HTTP check; defaults to empty.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;getAuthInfoOrBuilder in interface UptimeCheckConfig.HttpCheckOrBuilderpublic boolean getMaskHeaders()
Boolean specifiying 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 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.
map<string, string> headers = 6;getHeadersCount in interface UptimeCheckConfig.HttpCheckOrBuilderpublic boolean containsHeaders(java.lang.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.
map<string, string> headers = 6;containsHeaders in interface UptimeCheckConfig.HttpCheckOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeadersMap() instead.getHeaders in interface UptimeCheckConfig.HttpCheckOrBuilderpublic java.util.Map<java.lang.String,java.lang.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.
map<string, string> headers = 6;getHeadersMap in interface UptimeCheckConfig.HttpCheckOrBuilderpublic java.lang.String getHeadersOrDefault(java.lang.String key,
java.lang.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.
map<string, string> headers = 6;getHeadersOrDefault in interface UptimeCheckConfig.HttpCheckOrBuilderpublic java.lang.String getHeadersOrThrow(java.lang.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.
map<string, string> headers = 6;getHeadersOrThrow in interface UptimeCheckConfig.HttpCheckOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static UptimeCheckConfig.HttpCheck parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckConfig.HttpCheck parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckConfig.HttpCheck parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UptimeCheckConfig.HttpCheck parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic UptimeCheckConfig.HttpCheck.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static UptimeCheckConfig.HttpCheck.Builder newBuilder()
public static UptimeCheckConfig.HttpCheck.Builder newBuilder(UptimeCheckConfig.HttpCheck prototype)
public UptimeCheckConfig.HttpCheck.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected UptimeCheckConfig.HttpCheck.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static UptimeCheckConfig.HttpCheck getDefaultInstance()
public static Parser<UptimeCheckConfig.HttpCheck> parser()
public Parser<UptimeCheckConfig.HttpCheck> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public UptimeCheckConfig.HttpCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder