Class UpdateUptimeCheckConfigRequest.Builder (3.56.0)

public static final class UpdateUptimeCheckConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateUptimeCheckConfigRequest.Builder> implements UpdateUptimeCheckConfigRequestOrBuilder

The protocol for the UpdateUptimeCheckConfig request.

Protobuf type google.monitoring.v3.UpdateUptimeCheckConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateUptimeCheckConfigRequest build()
Returns
Type Description
UpdateUptimeCheckConfigRequest

buildPartial()

public UpdateUptimeCheckConfigRequest buildPartial()
Returns
Type Description
UpdateUptimeCheckConfigRequest

clear()

public UpdateUptimeCheckConfigRequest.Builder clear()
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateUptimeCheckConfigRequest.Builder clearUpdateMask()

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

clearUptimeCheckConfig()

public UpdateUptimeCheckConfigRequest.Builder clearUptimeCheckConfig()

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateUptimeCheckConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateUptimeCheckConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getUptimeCheckConfig()

public UptimeCheckConfig getUptimeCheckConfig()

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UptimeCheckConfig

The uptimeCheckConfig.

getUptimeCheckConfigBuilder()

public UptimeCheckConfig.Builder getUptimeCheckConfigBuilder()

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UptimeCheckConfig.Builder

getUptimeCheckConfigOrBuilder()

public UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder()

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UptimeCheckConfigOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hasUptimeCheckConfig()

public boolean hasUptimeCheckConfig()

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the uptimeCheckConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateUptimeCheckConfigRequest other)

public UpdateUptimeCheckConfigRequest.Builder mergeFrom(UpdateUptimeCheckConfigRequest other)
Parameter
Name Description
other UpdateUptimeCheckConfigRequest
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateUptimeCheckConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateUptimeCheckConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateUptimeCheckConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateUptimeCheckConfigRequest.Builder mergeUpdateMask(FieldMask value)

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

mergeUptimeCheckConfig(UptimeCheckConfig value)

public UpdateUptimeCheckConfigRequest.Builder mergeUptimeCheckConfig(UptimeCheckConfig value)

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UptimeCheckConfig
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateUptimeCheckConfigRequest.Builder setUpdateMask(FieldMask value)

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateUptimeCheckConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

setUptimeCheckConfig(UptimeCheckConfig value)

public UpdateUptimeCheckConfigRequest.Builder setUptimeCheckConfig(UptimeCheckConfig value)

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UptimeCheckConfig
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder

setUptimeCheckConfig(UptimeCheckConfig.Builder builderForValue)

public UpdateUptimeCheckConfigRequest.Builder setUptimeCheckConfig(UptimeCheckConfig.Builder builderForValue)

Required. If an updateMask has been specified, this field gives the values for the set of fields mentioned in the updateMask. If an updateMask has not been given, this Uptime check configuration replaces the current configuration. If a field is mentioned in updateMask but the corresponding field is omitted in this partial Uptime check configuration, it has the effect of deleting/clearing the field from the configuration on the server.

The following fields can be updated: display_name, http_check, tcp_check, timeout, content_matchers, and selected_regions.

.google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UptimeCheckConfig.Builder
Returns
Type Description
UpdateUptimeCheckConfigRequest.Builder