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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 UpdateUptimeCheckConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateUptimeCheckConfigRequest build()
buildPartial()
public UpdateUptimeCheckConfigRequest buildPartial()
clear()
public UpdateUptimeCheckConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateUptimeCheckConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateUptimeCheckConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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];
clone()
public UpdateUptimeCheckConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateUptimeCheckConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateUptimeCheckConfigRequest other)
public UpdateUptimeCheckConfigRequest.Builder mergeFrom(UpdateUptimeCheckConfigRequest other)
public UpdateUptimeCheckConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateUptimeCheckConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateUptimeCheckConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateUptimeCheckConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateUptimeCheckConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateUptimeCheckConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|
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];
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];