public static final class SyntheticMonitorTarget.CloudFunctionV2Target.Builder extends GeneratedMessage.Builder<SyntheticMonitorTarget.CloudFunctionV2Target.Builder> implements SyntheticMonitorTarget.CloudFunctionV2TargetOrBuilderA Synthetic Monitor deployed to a Cloud Functions V2 instance.
Protobuf type google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SyntheticMonitorTarget.CloudFunctionV2Target.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SyntheticMonitorTarget.CloudFunctionV2Target build()| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target |
|
buildPartial()
public SyntheticMonitorTarget.CloudFunctionV2Target buildPartial()| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target |
|
clear()
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder clear()| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
This builder for chaining. |
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()| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
mergeFrom(SyntheticMonitorTarget.CloudFunctionV2Target other)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeFrom(SyntheticMonitorTarget.CloudFunctionV2Target other)| Parameter | |
|---|---|
| Name | Description |
other |
SyntheticMonitorTarget.CloudFunctionV2Target |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SyntheticMonitorTarget.CloudFunctionV2Target.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SyntheticMonitorTarget.CloudFunctionV2Target.Builder |
This builder for chaining. |