Send feedback
Class ParameterMutation.Builder (0.59.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.59.0 keyboard_arrow_down
public static final class ParameterMutation . Builder extends GeneratedMessageV3 . Builder<ParameterMutation . Builder > implements ParameterMutationOrBuilder
Defines an event parameter to mutate.
Protobuf type google.analytics.admin.v1alpha.ParameterMutation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ParameterMutation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ParameterMutation build ()
buildPartial()
public ParameterMutation buildPartial ()
clear()
public ParameterMutation . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ParameterMutation . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ParameterMutation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
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];
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 .
string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public ParameterMutation . Builder clone ()
Overrides
getDefaultInstanceForType()
public ParameterMutation getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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];
Returns
Type
Description
String
The parameter.
getParameterBytes()
public 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];
Returns
Type
Description
ByteString
The bytes for parameter.
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 .
string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The parameterValue.
getParameterValueBytes()
public 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 .
string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for parameterValue.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ParameterMutation other)
public ParameterMutation . Builder mergeFrom ( ParameterMutation other )
public ParameterMutation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ParameterMutation . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ParameterMutation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ParameterMutation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setParameter(String value)
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];
Parameter
Name
Description
value
String
The parameter to set.
setParameterBytes(ByteString value)
public ParameterMutation . Builder setParameterBytes ( 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];
Parameter
Name
Description
value
ByteString
The bytes for parameter to set.
setParameterValue(String value)
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 .
string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String
The parameterValue to set.
setParameterValueBytes(ByteString value)
public ParameterMutation . Builder setParameterValueBytes ( 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 .
string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The bytes for parameterValue to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ParameterMutation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ParameterMutation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `ParameterMutation.Builder` class within the Google Analytics Admin API, focusing on its role in defining event parameter mutations."],["The content lists available versions of the API, ranging from the latest version 0.70.0 down to version 0.14.0, with version 0.59.0 being the specific version of this page."],["`ParameterMutation.Builder` extends `GeneratedMessageV3.Builder` and implements `ParameterMutationOrBuilder`, offering methods for building parameter mutation instances and inheriting various utility methods."],["Key functionalities of `ParameterMutation.Builder` include setting and clearing the parameter name and its corresponding value, which is essential for performing event data modification."],["The class's `parameter` field must adhere to specific formatting rules, such as being less than 40 characters, being unique within the rule, and using letters, digits, or underscores, with the option to use 'event_name' to modify the event name."]]],[]]