Class ParameterMutation (0.40.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
TypeDescription
int

PARAMETER_VALUE_FIELD_NUMBER

public static final int PARAMETER_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ParameterMutation getDefaultInstance()
Returns
TypeDescription
ParameterMutation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ParameterMutation.Builder newBuilder()
Returns
TypeDescription
ParameterMutation.Builder

newBuilder(ParameterMutation prototype)

public static ParameterMutation.Builder newBuilder(ParameterMutation prototype)
Parameter
NameDescription
prototypeParameterMutation
Returns
TypeDescription
ParameterMutation.Builder

parseDelimitedFrom(InputStream input)

public static ParameterMutation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ParameterMutation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ParameterMutation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ParameterMutation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ParameterMutation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ParameterMutation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ParameterMutation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterMutation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ParameterMutation> parser()
Returns
TypeDescription
Parser<ParameterMutation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ParameterMutation getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parameterValue.

getParserForType()

public Parser<ParameterMutation> getParserForType()
Returns
TypeDescription
Parser<ParameterMutation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ParameterMutation.Builder newBuilderForType()
Returns
TypeDescription
ParameterMutation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ParameterMutation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ParameterMutation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ParameterMutation.Builder toBuilder()
Returns
TypeDescription
ParameterMutation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException