Class ParameterMutation.Builder

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

public static final class ParameterMutation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ParameterMutation.Builder> implements ParameterMutationOrBuilder
 Defines an event parameter to mutate.
 
Protobuf type google.analytics.admin.v1alpha.ParameterMutation
  • 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<ParameterMutation.Builder>
    • clear

      public ParameterMutation.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<ParameterMutation.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<ParameterMutation.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ParameterMutation.Builder mergeFrom(ParameterMutation other)
    • isInitialized

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

      public ParameterMutation.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<ParameterMutation.Builder>
      Throws:
      IOException
    • getParameter

      public String getParameter()
       Required. The name of the parameter to mutate.
       This value must:
       * be less than 40 characters.
       * be unique across across all mutations within the rule
       * consist only of letters, digits or _ (underscores)
       For event edit rules, the name may also be set to 'event_name' to modify
       the event_name in place.
       
      string parameter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParameter in interface ParameterMutationOrBuilder
      Returns:
      The parameter.
    • getParameterBytes

      public com.google.protobuf.ByteString getParameterBytes()
       Required. The name of the parameter to mutate.
       This value must:
       * be less than 40 characters.
       * be unique across across all mutations within the rule
       * consist only of letters, digits or _ (underscores)
       For event edit rules, the name may also be set to 'event_name' to modify
       the event_name in place.
       
      string parameter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParameterBytes in interface ParameterMutationOrBuilder
      Returns:
      The bytes for parameter.
    • setParameter

      public ParameterMutation.Builder setParameter(String value)
       Required. The name of the parameter to mutate.
       This value must:
       * be less than 40 characters.
       * be unique across across all mutations within the rule
       * consist only of letters, digits or _ (underscores)
       For event edit rules, the name may also be set to 'event_name' to modify
       the event_name in place.
       
      string parameter = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The parameter to set.
      Returns:
      This builder for chaining.
    • clearParameter

      public ParameterMutation.Builder clearParameter()
       Required. The name of the parameter to mutate.
       This value must:
       * be less than 40 characters.
       * be unique across across all mutations within the rule
       * consist only of letters, digits or _ (underscores)
       For event edit rules, the name may also be set to 'event_name' to modify
       the event_name in place.
       
      string parameter = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setParameterBytes

      public ParameterMutation.Builder setParameterBytes(com.google.protobuf.ByteString value)
       Required. The name of the parameter to mutate.
       This value must:
       * be less than 40 characters.
       * be unique across across all mutations within the rule
       * consist only of letters, digits or _ (underscores)
       For event edit rules, the name may also be set to 'event_name' to modify
       the event_name in place.
       
      string parameter = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for parameter to set.
      Returns:
      This builder for chaining.
    • getParameterValue

      public String getParameterValue()
       Required. The value mutation to perform.
       * Must be less than 100 characters.
       * To specify a constant value for the param, use the value's string.
       * To copy value from another parameter, use syntax like
       "[[other_parameter]]" For more details, see this [help center
       article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
       
      string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParameterValue in interface ParameterMutationOrBuilder
      Returns:
      The parameterValue.
    • getParameterValueBytes

      public com.google.protobuf.ByteString getParameterValueBytes()
       Required. The value mutation to perform.
       * Must be less than 100 characters.
       * To specify a constant value for the param, use the value's string.
       * To copy value from another parameter, use syntax like
       "[[other_parameter]]" For more details, see this [help center
       article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
       
      string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParameterValueBytes in interface ParameterMutationOrBuilder
      Returns:
      The bytes for parameterValue.
    • setParameterValue

      public ParameterMutation.Builder setParameterValue(String value)
       Required. The value mutation to perform.
       * Must be less than 100 characters.
       * To specify a constant value for the param, use the value's string.
       * To copy value from another parameter, use syntax like
       "[[other_parameter]]" For more details, see this [help center
       article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
       
      string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The parameterValue to set.
      Returns:
      This builder for chaining.
    • clearParameterValue

      public ParameterMutation.Builder clearParameterValue()
       Required. The value mutation to perform.
       * Must be less than 100 characters.
       * To specify a constant value for the param, use the value's string.
       * To copy value from another parameter, use syntax like
       "[[other_parameter]]" For more details, see this [help center
       article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
       
      string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setParameterValueBytes

      public ParameterMutation.Builder setParameterValueBytes(com.google.protobuf.ByteString value)
       Required. The value mutation to perform.
       * Must be less than 100 characters.
       * To specify a constant value for the param, use the value's string.
       * To copy value from another parameter, use syntax like
       "[[other_parameter]]" For more details, see this [help center
       article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
       
      string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for parameterValue to set.
      Returns:
      This builder for chaining.