Class UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder (3.84.0)

public static final class UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder extends GeneratedMessage.Builder<UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder> implements UptimeCheckConfig.HttpCheck.ServiceAgentAuthenticationOrBuilder

Contains information needed for generating either an OpenID Connect token or OAuth token. The token will be generated for the Monitoring service agent service account.

Protobuf type google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication build()
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication

buildPartial()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication buildPartial()
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication

clear()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder clear()
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides

clearType()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder clearType()

Type of authentication.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType type = 1;

Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder

This builder for chaining.

getDefaultInstanceForType()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication getDefaultInstanceForType()
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getType()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType getType()

Type of authentication.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType type = 1;

Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType

The type.

getTypeValue()

public int getTypeValue()

Type of authentication.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication other)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder mergeFrom(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication other)
Parameter
Name Description
other UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides

setType(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType value)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder setType(UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType value)

Type of authentication.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType type = 1;

Parameter
Name Description
value UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType

The type to set.

Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder

This builder for chaining.

setTypeValue(int value)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder setTypeValue(int value)

Type of authentication.

.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder

This builder for chaining.