Class UpdateUptimeCheckConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateUptimeCheckConfigRequest.Builder>
com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder
All Implemented Interfaces:
UpdateUptimeCheckConfigRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateUptimeCheckConfigRequest

public static final class UpdateUptimeCheckConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateUptimeCheckConfigRequest.Builder> implements UpdateUptimeCheckConfigRequestOrBuilder
 The protocol for the `UpdateUptimeCheckConfig` request.
 
Protobuf type google.monitoring.v3.UpdateUptimeCheckConfigRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateUptimeCheckConfigRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateUptimeCheckConfigRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateUptimeCheckConfigRequest.Builder>
    • getDefaultInstanceForType

      public UpdateUptimeCheckConfigRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateUptimeCheckConfigRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateUptimeCheckConfigRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateUptimeCheckConfigRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateUptimeCheckConfigRequest.Builder>
    • mergeFrom

      public UpdateUptimeCheckConfigRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateUptimeCheckConfigRequest.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasUpdateMask in interface UpdateUptimeCheckConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.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;
      Specified by:
      getUpdateMask in interface UpdateUptimeCheckConfigRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateUptimeCheckConfigRequest.Builder setUpdateMask(com.google.protobuf.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

      public UpdateUptimeCheckConfigRequest.Builder setUpdateMask(com.google.protobuf.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;
    • mergeUpdateMask

      public UpdateUptimeCheckConfigRequest.Builder mergeUpdateMask(com.google.protobuf.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;
    • 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;
    • getUpdateMaskBuilder

      public com.google.protobuf.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 com.google.protobuf.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;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateUptimeCheckConfigRequestOrBuilder
    • 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];
      Specified by:
      hasUptimeCheckConfig in interface UpdateUptimeCheckConfigRequestOrBuilder
      Returns:
      Whether the uptimeCheckConfig field is set.
    • 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];
      Specified by:
      getUptimeCheckConfig in interface UpdateUptimeCheckConfigRequestOrBuilder
      Returns:
      The uptimeCheckConfig.
    • setUptimeCheckConfig

      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

      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];
    • mergeUptimeCheckConfig

      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];
    • 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];
    • 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];
      Specified by:
      getUptimeCheckConfigOrBuilder in interface UpdateUptimeCheckConfigRequestOrBuilder