Class SyntheticMonitorTarget.Builder (3.84.0)

public static final class SyntheticMonitorTarget.Builder extends GeneratedMessage.Builder<SyntheticMonitorTarget.Builder> implements SyntheticMonitorTargetOrBuilder

Describes a Synthetic Monitor to be invoked by Uptime.

Protobuf type google.monitoring.v3.SyntheticMonitorTarget

Static Methods

getDescriptor()

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

Methods

build()

public SyntheticMonitorTarget build()
Returns
Type Description
SyntheticMonitorTarget

buildPartial()

public SyntheticMonitorTarget buildPartial()
Returns
Type Description
SyntheticMonitorTarget

clear()

public SyntheticMonitorTarget.Builder clear()
Returns
Type Description
SyntheticMonitorTarget.Builder
Overrides

clearCloudFunctionV2()

public SyntheticMonitorTarget.Builder clearCloudFunctionV2()

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Returns
Type Description
SyntheticMonitorTarget.Builder

clearTarget()

public SyntheticMonitorTarget.Builder clearTarget()
Returns
Type Description
SyntheticMonitorTarget.Builder

getCloudFunctionV2()

public SyntheticMonitorTarget.CloudFunctionV2Target getCloudFunctionV2()

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Returns
Type Description
SyntheticMonitorTarget.CloudFunctionV2Target

The cloudFunctionV2.

getCloudFunctionV2Builder()

public SyntheticMonitorTarget.CloudFunctionV2Target.Builder getCloudFunctionV2Builder()

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Returns
Type Description
SyntheticMonitorTarget.CloudFunctionV2Target.Builder

getCloudFunctionV2OrBuilder()

public SyntheticMonitorTarget.CloudFunctionV2TargetOrBuilder getCloudFunctionV2OrBuilder()

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Returns
Type Description
SyntheticMonitorTarget.CloudFunctionV2TargetOrBuilder

getDefaultInstanceForType()

public SyntheticMonitorTarget getDefaultInstanceForType()
Returns
Type Description
SyntheticMonitorTarget

getDescriptorForType()

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

getTargetCase()

public SyntheticMonitorTarget.TargetCase getTargetCase()
Returns
Type Description
SyntheticMonitorTarget.TargetCase

hasCloudFunctionV2()

public boolean hasCloudFunctionV2()

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Returns
Type Description
boolean

Whether the cloudFunctionV2 field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudFunctionV2(SyntheticMonitorTarget.CloudFunctionV2Target value)

public SyntheticMonitorTarget.Builder mergeCloudFunctionV2(SyntheticMonitorTarget.CloudFunctionV2Target value)

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Parameter
Name Description
value SyntheticMonitorTarget.CloudFunctionV2Target
Returns
Type Description
SyntheticMonitorTarget.Builder

mergeFrom(SyntheticMonitorTarget other)

public SyntheticMonitorTarget.Builder mergeFrom(SyntheticMonitorTarget other)
Parameter
Name Description
other SyntheticMonitorTarget
Returns
Type Description
SyntheticMonitorTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SyntheticMonitorTarget.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SyntheticMonitorTarget.Builder
Overrides

setCloudFunctionV2(SyntheticMonitorTarget.CloudFunctionV2Target value)

public SyntheticMonitorTarget.Builder setCloudFunctionV2(SyntheticMonitorTarget.CloudFunctionV2Target value)

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Parameter
Name Description
value SyntheticMonitorTarget.CloudFunctionV2Target
Returns
Type Description
SyntheticMonitorTarget.Builder

setCloudFunctionV2(SyntheticMonitorTarget.CloudFunctionV2Target.Builder builderForValue)

public SyntheticMonitorTarget.Builder setCloudFunctionV2(SyntheticMonitorTarget.CloudFunctionV2Target.Builder builderForValue)

Target a Synthetic Monitor GCFv2 instance.

.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;

Parameter
Name Description
builderForValue SyntheticMonitorTarget.CloudFunctionV2Target.Builder
Returns
Type Description
SyntheticMonitorTarget.Builder