Class SyntheticMonitorTarget.Builder (3.96.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public SyntheticMonitorTarget build()
buildPartial()
public SyntheticMonitorTarget buildPartial()
clear()
public SyntheticMonitorTarget.Builder clear()
Overrides
clearCloudFunctionV2()
public SyntheticMonitorTarget.Builder clearCloudFunctionV2()
Target a Synthetic Monitor GCFv2 instance.
.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;
clearTarget()
public SyntheticMonitorTarget.Builder clearTarget()
getCloudFunctionV2()
public SyntheticMonitorTarget.CloudFunctionV2Target getCloudFunctionV2()
Target a Synthetic Monitor GCFv2 instance.
.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;
getCloudFunctionV2Builder()
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder getCloudFunctionV2Builder()
Target a Synthetic Monitor GCFv2 instance.
.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;
getCloudFunctionV2OrBuilder()
public SyntheticMonitorTarget.CloudFunctionV2TargetOrBuilder getCloudFunctionV2OrBuilder()
Target a Synthetic Monitor GCFv2 instance.
.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target cloud_function_v2 = 1;
getDefaultInstanceForType()
public SyntheticMonitorTarget getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTargetCase()
public SyntheticMonitorTarget.TargetCase getTargetCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(SyntheticMonitorTarget other)
public SyntheticMonitorTarget.Builder mergeFrom(SyntheticMonitorTarget other)
public SyntheticMonitorTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SyntheticMonitorTarget.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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;
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[null,null,["Last updated 2026-08-05 UTC."],[],[]]