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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public boolean getUseSsl()
If true, use HTTPS instead of HTTP to run the check.
bool use_ssl = 1;
getUseSsl
in interface UptimeCheckConfig.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public int getHeadersCount()
UptimeCheckConfig.HttpCheckOrBuilder
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;
getHeadersCount
in interface UptimeCheckConfig.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public 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.HttpCheckOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static UptimeCheckConfig.HttpCheck parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UptimeCheckConfig.HttpCheck parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UptimeCheckConfig.HttpCheck parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UptimeCheckConfig.HttpCheck parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UptimeCheckConfig.HttpCheck parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UptimeCheckConfig.HttpCheck parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UptimeCheckConfig.HttpCheck parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UptimeCheckConfig.HttpCheck parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UptimeCheckConfig.HttpCheck parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UptimeCheckConfig.HttpCheck parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UptimeCheckConfig.HttpCheck parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UptimeCheckConfig.HttpCheck parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public UptimeCheckConfig.HttpCheck.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static UptimeCheckConfig.HttpCheck.Builder newBuilder()
public static UptimeCheckConfig.HttpCheck.Builder newBuilder(UptimeCheckConfig.HttpCheck prototype)
public UptimeCheckConfig.HttpCheck.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected UptimeCheckConfig.HttpCheck.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static UptimeCheckConfig.HttpCheck getDefaultInstance()
public static Parser<UptimeCheckConfig.HttpCheck> parser()
public Parser<UptimeCheckConfig.HttpCheck> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public UptimeCheckConfig.HttpCheck getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder