Class ParameterMutation (0.54.0)

public final class ParameterMutation extends GeneratedMessageV3 implements ParameterMutationOrBuilder

Defines an event parameter to mutate.

Protobuf type google.analytics.admin.v1alpha.ParameterMutation

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()
Returns
Type Description
ParameterMutation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ParameterMutation.Builder newBuilder()
Returns
Type Description
ParameterMutation.Builder

newBuilder(ParameterMutation prototype)

public static ParameterMutation.Builder newBuilder(ParameterMutation prototype)
Parameter
Name Description
prototype ParameterMutation
Returns
Type Description
ParameterMutation.Builder

parseDelimitedFrom(InputStream input)

public static ParameterMutation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ParameterMutation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterMutation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ParameterMutation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ParameterMutation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterMutation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ParameterMutation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ParameterMutation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterMutation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ParameterMutation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ParameterMutation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterMutation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ParameterMutation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ParameterMutation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterMutation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ParameterMutation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ParameterMutation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterMutation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ParameterMutation> parser()
Returns
Type Description
Parser<ParameterMutation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ParameterMutation getDefaultInstanceForType()
Returns
Type Description
ParameterMutation

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()
Returns
Type Description
Parser<ParameterMutation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ParameterMutation.Builder newBuilderForType()
Returns
Type Description
ParameterMutation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ParameterMutation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ParameterMutation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ParameterMutation.Builder toBuilder()
Returns
Type Description
ParameterMutation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException