Class UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder (3.43.0)

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

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

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
Overrides