Class UpdateNotificationChannelRequest.Builder

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

public static final class UpdateNotificationChannelRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateNotificationChannelRequest.Builder> implements UpdateNotificationChannelRequestOrBuilder
 The `UpdateNotificationChannel` request.
 
Protobuf type google.monitoring.v3.UpdateNotificationChannelRequest
  • 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<UpdateNotificationChannelRequest.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<UpdateNotificationChannelRequest.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<UpdateNotificationChannelRequest.Builder>
    • getDefaultInstanceForType

      public UpdateNotificationChannelRequest 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 UpdateNotificationChannelRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateNotificationChannelRequest.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<UpdateNotificationChannelRequest.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<UpdateNotificationChannelRequest.Builder>
    • mergeFrom

      public UpdateNotificationChannelRequest.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<UpdateNotificationChannelRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateNotificationChannelRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateNotificationChannelRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateNotificationChannelRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateNotificationChannelRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateNotificationChannelRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateNotificationChannelRequest.Builder clearUpdateMask()
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateNotificationChannelRequestOrBuilder
    • hasNotificationChannel

      public boolean hasNotificationChannel()
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNotificationChannel in interface UpdateNotificationChannelRequestOrBuilder
      Returns:
      Whether the notificationChannel field is set.
    • getNotificationChannel

      public NotificationChannel getNotificationChannel()
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNotificationChannel in interface UpdateNotificationChannelRequestOrBuilder
      Returns:
      The notificationChannel.
    • setNotificationChannel

      public UpdateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel value)
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
    • setNotificationChannel

      public UpdateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel.Builder builderForValue)
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeNotificationChannel

      public UpdateNotificationChannelRequest.Builder mergeNotificationChannel(NotificationChannel value)
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearNotificationChannel

      public UpdateNotificationChannelRequest.Builder clearNotificationChannel()
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
    • getNotificationChannelBuilder

      public NotificationChannel.Builder getNotificationChannelBuilder()
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
    • getNotificationChannelOrBuilder

      public NotificationChannelOrBuilder getNotificationChannelOrBuilder()
       Required. A description of the changes to be applied to the specified
       notification channel. The description must provide a definition for
       fields to be updated; the names of these fields should also be
       included in the `update_mask`.
       
      .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNotificationChannelOrBuilder in interface UpdateNotificationChannelRequestOrBuilder