Class SyntheticMonitorTarget.Builder (3.53.0)

public static final class SyntheticMonitorTarget.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public SyntheticMonitorTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SyntheticMonitorTarget.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SyntheticMonitorTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SyntheticMonitorTarget.Builder
Overrides

clearTarget()

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SyntheticMonitorTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SyntheticMonitorTarget.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SyntheticMonitorTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SyntheticMonitorTarget.Builder
Overrides