Class UpdateUptimeCheckConfigRequest.Builder (3.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateUptimeCheckConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides

build()

public UpdateUptimeCheckConfigRequest build()
Returns
TypeDescription
UpdateUptimeCheckConfigRequest

buildPartial()

public UpdateUptimeCheckConfigRequest buildPartial()
Returns
TypeDescription
UpdateUptimeCheckConfigRequest

clear()

public UpdateUptimeCheckConfigRequest.Builder clear()
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateUptimeCheckConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateUptimeCheckConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateUptimeCheckConfigRequest.Builder

clone()

public UpdateUptimeCheckConfigRequest.Builder clone()
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateUptimeCheckConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateUptimeCheckConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the uptimeCheckConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateUptimeCheckConfigRequest other)

public UpdateUptimeCheckConfigRequest.Builder mergeFrom(UpdateUptimeCheckConfigRequest other)
Parameter
NameDescription
otherUpdateUptimeCheckConfigRequest
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateUptimeCheckConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateUptimeCheckConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateUptimeCheckConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueUptimeCheckConfig
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateUptimeCheckConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides

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

public UpdateUptimeCheckConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateUptimeCheckConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueUptimeCheckConfig
Returns
TypeDescription
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
NameDescription
builderForValueUptimeCheckConfig.Builder
Returns
TypeDescription
UpdateUptimeCheckConfigRequest.Builder