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