Class UpdateKeyEventRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateKeyEventRequest.Builder>
com.google.analytics.admin.v1alpha.UpdateKeyEventRequest.Builder
All Implemented Interfaces:
UpdateKeyEventRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateKeyEventRequest

public static final class UpdateKeyEventRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateKeyEventRequest.Builder> implements UpdateKeyEventRequestOrBuilder
 Request message for UpdateKeyEvent RPC
 
Protobuf type google.analytics.admin.v1alpha.UpdateKeyEventRequest
  • 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<UpdateKeyEventRequest.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<UpdateKeyEventRequest.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<UpdateKeyEventRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateKeyEventRequest.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<UpdateKeyEventRequest.Builder>
      Throws:
      IOException
    • hasKeyEvent

      public boolean hasKeyEvent()
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasKeyEvent in interface UpdateKeyEventRequestOrBuilder
      Returns:
      Whether the keyEvent field is set.
    • getKeyEvent

      public KeyEvent getKeyEvent()
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKeyEvent in interface UpdateKeyEventRequestOrBuilder
      Returns:
      The keyEvent.
    • setKeyEvent

      public UpdateKeyEventRequest.Builder setKeyEvent(KeyEvent value)
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
    • setKeyEvent

      public UpdateKeyEventRequest.Builder setKeyEvent(KeyEvent.Builder builderForValue)
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeKeyEvent

      public UpdateKeyEventRequest.Builder mergeKeyEvent(KeyEvent value)
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearKeyEvent

      public UpdateKeyEventRequest.Builder clearKeyEvent()
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
    • getKeyEventBuilder

      public KeyEvent.Builder getKeyEventBuilder()
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
    • getKeyEventOrBuilder

      public KeyEventOrBuilder getKeyEventOrBuilder()
       Required. The Key Event to update.
       The `name` field is used to identify the settings to be updated.
       
      .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKeyEventOrBuilder in interface UpdateKeyEventRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateKeyEventRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateKeyEventRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateKeyEventRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateKeyEventRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateKeyEventRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateKeyEventRequest.Builder clearUpdateMask()
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. The list of fields to be updated. Field names must be in snake
       case (e.g., "field_to_update"). Omitted fields will not be updated. To
       replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateKeyEventRequestOrBuilder