Send feedback
Class ParameterMutation.Builder (0.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.45.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 for Java."],["The `ParameterMutation.Builder` class is used to define and construct event parameter mutations, extending the `GeneratedMessageV3.Builder` class and implementing the `ParameterMutationOrBuilder` interface."],["It covers a comprehensive list of versions, starting from 0.70.0 (latest) down to 0.14.0, each linking to the corresponding documentation for `ParameterMutation.Builder`."],["The class allows setting the parameter name and its value, with specific constraints such as length and allowed characters for the parameter name, as well as providing methods to manage these values and handle the construction of the `ParameterMutation` object."],["It outlines the methods for building, clearing, merging, and setting various fields, which are essential for managing and manipulating the ParameterMutation objects, as well as the various inherited methods from parent classes."]]],[]]