public final class ParameterMutation extends GeneratedMessageV3 implements ParameterMutationOrBuilder
Defines an event parameter to mutate.
Protobuf type google.analytics.admin.v1alpha.ParameterMutation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARAMETER_FIELD_NUMBER
public static final int PARAMETER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARAMETER_VALUE_FIELD_NUMBER
public static final int PARAMETER_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ParameterMutation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ParameterMutation.Builder newBuilder()
newBuilder(ParameterMutation prototype)
public static ParameterMutation.Builder newBuilder(ParameterMutation prototype)
public static ParameterMutation parseDelimitedFrom(InputStream input)
public static ParameterMutation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ParameterMutation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ParameterMutation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ParameterMutation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ParameterMutation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ParameterMutation parseFrom(CodedInputStream input)
public static ParameterMutation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ParameterMutation parseFrom(InputStream input)
public static ParameterMutation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ParameterMutation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ParameterMutation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ParameterMutation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ParameterMutation getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<ParameterMutation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ParameterMutation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ParameterMutation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ParameterMutation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides