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
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SyntheticMonitorTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public SyntheticMonitorTarget.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SyntheticMonitorTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTarget()
public SyntheticMonitorTarget.Builder clearTarget()
clone()
public SyntheticMonitorTarget.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SyntheticMonitorTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public SyntheticMonitorTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SyntheticMonitorTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SyntheticMonitorTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides