Class UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder (3.59.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 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

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication build()

buildPartial()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication buildPartial()

clear()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication getDefaultInstanceForType()

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;

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
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
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;

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
Overrides