public static final class UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder extends com.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder> implements UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder
The authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.Protobuf type
google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication| Modifier and Type | Method and Description |
|---|---|
UptimeCheckConfig.HttpCheck.BasicAuthentication |
build() |
UptimeCheckConfig.HttpCheck.BasicAuthentication |
buildPartial() |
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
clear() |
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
clearPassword()
The password to use when authenticating with the HTTP server.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
clearUsername()
The username to use when authenticating with the HTTP server.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPassword()
The password to use when authenticating with the HTTP server.
|
com.google.protobuf.ByteString |
getPasswordBytes()
The password to use when authenticating with the HTTP server.
|
String |
getUsername()
The username to use when authenticating with the HTTP server.
|
com.google.protobuf.ByteString |
getUsernameBytes()
The username to use when authenticating with the HTTP server.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
mergeFrom(com.google.protobuf.Message other) |
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
mergeFrom(UptimeCheckConfig.HttpCheck.BasicAuthentication other) |
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
setPassword(String value)
The password to use when authenticating with the HTTP server.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
setPasswordBytes(com.google.protobuf.ByteString value)
The password to use when authenticating with the HTTP server.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
setUsername(String value)
The username to use when authenticating with the HTTP server.
|
UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
The username to use when authenticating with the HTTP server.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder>public UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.HttpCheck.BasicAuthentication.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.GeneratedMessage.Builder<UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder>public UptimeCheckConfig.HttpCheck.BasicAuthentication getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UptimeCheckConfig.HttpCheck.BasicAuthentication build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckConfig.HttpCheck.BasicAuthentication buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder>public UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder mergeFrom(UptimeCheckConfig.HttpCheck.BasicAuthentication other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder>public UptimeCheckConfig.HttpCheck.BasicAuthentication.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.BasicAuthentication.Builder>IOExceptionpublic String getUsername()
The username to use when authenticating with the HTTP server.
string username = 1;getUsername in interface UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
The username to use when authenticating with the HTTP server.
string username = 1;getUsernameBytes in interface UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilderpublic UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder setUsername(String value)
The username to use when authenticating with the HTTP server.
string username = 1;value - The username to set.public UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder clearUsername()
The username to use when authenticating with the HTTP server.
string username = 1;public UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder setUsernameBytes(com.google.protobuf.ByteString value)
The username to use when authenticating with the HTTP server.
string username = 1;value - The bytes for username to set.public String getPassword()
The password to use when authenticating with the HTTP server.
string password = 2;getPassword in interface UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilderpublic com.google.protobuf.ByteString getPasswordBytes()
The password to use when authenticating with the HTTP server.
string password = 2;getPasswordBytes in interface UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilderpublic UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder setPassword(String value)
The password to use when authenticating with the HTTP server.
string password = 2;value - The password to set.public UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder clearPassword()
The password to use when authenticating with the HTTP server.
string password = 2;public UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder setPasswordBytes(com.google.protobuf.ByteString value)
The password to use when authenticating with the HTTP server.
string password = 2;value - The bytes for password to set.Copyright © 2026 Google LLC. All rights reserved.