public static final class SyntheticMonitorTarget.CloudFunctionV2Target.Builder extends GeneratedMessageV3.Builder<SyntheticMonitorTarget.CloudFunctionV2Target.Builder> implements SyntheticMonitorTarget.CloudFunctionV2TargetOrBuilder
A Synthetic Monitor deployed to a Cloud Functions V2 instance.
Protobuf type google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target
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.CloudFunctionV2Target.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SyntheticMonitorTarget.CloudFunctionV2Target build()
buildPartial()
public SyntheticMonitorTarget.CloudFunctionV2Target buildPartial()
clear()
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder clear()
Overrides
clearCloudRunRevision()
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder clearCloudRunRevision()
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder clearName()
Required. Fully qualified GCFv2 resource name
i.e. projects/{project}/locations/{location}/functions/{function}
Required.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder clone()
Overrides
getCloudRunRevision()
public MonitoredResource getCloudRunRevision()
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
com.google.api.MonitoredResource |
The cloudRunRevision.
|
getCloudRunRevisionBuilder()
public MonitoredResource.Builder getCloudRunRevisionBuilder()
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
com.google.api.MonitoredResource.Builder |
|
getCloudRunRevisionOrBuilder()
public MonitoredResourceOrBuilder getCloudRunRevisionOrBuilder()
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
com.google.api.MonitoredResourceOrBuilder |
|
getDefaultInstanceForType()
public SyntheticMonitorTarget.CloudFunctionV2Target getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Required. Fully qualified GCFv2 resource name
i.e. projects/{project}/locations/{location}/functions/{function}
Required.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Fully qualified GCFv2 resource name
i.e. projects/{project}/locations/{location}/functions/{function}
Required.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
hasCloudRunRevision()
public boolean hasCloudRunRevision()
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the cloudRunRevision field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCloudRunRevision(MonitoredResource value)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeCloudRunRevision(MonitoredResource value)
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
com.google.api.MonitoredResource
|
mergeFrom(SyntheticMonitorTarget.CloudFunctionV2Target other)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeFrom(SyntheticMonitorTarget.CloudFunctionV2Target other)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCloudRunRevision(MonitoredResource value)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder setCloudRunRevision(MonitoredResource value)
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
com.google.api.MonitoredResource
|
setCloudRunRevision(MonitoredResource.Builder builderForValue)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder setCloudRunRevision(MonitoredResource.Builder builderForValue)
Output only. The cloud_run_revision
Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
com.google.api.MonitoredResource.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder setName(String value)
Required. Fully qualified GCFv2 resource name
i.e. projects/{project}/locations/{location}/functions/{function}
Required.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder setNameBytes(ByteString value)
Required. Fully qualified GCFv2 resource name
i.e. projects/{project}/locations/{location}/functions/{function}
Required.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SyntheticMonitorTarget.CloudFunctionV2Target.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides