public static interface UptimeCheckConfig.HttpCheckOrBuilder extends MessageOrBuilder
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.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication |
getAuthInfo()
The authentication information.
|
UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder |
getAuthInfoOrBuilder()
The authentication information.
|
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.
|
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.
|
boolean |
getUseSsl()
If true, use HTTPS instead of HTTP to run the check.
|
boolean |
hasAuthInfo()
The authentication information.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean getUseSsl()
If true, use HTTPS instead of HTTP to run the check.
bool use_ssl = 1;
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;
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;
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;
boolean hasAuthInfo()
The authentication information. Optional when creating an HTTP check; defaults to empty.
.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
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;
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;
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;
int getHeadersCount()
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;
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;
@Deprecated java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeadersMap()
instead.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;
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;
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;