Class ParameterMutation.Builder (0.56.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ParameterMutation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ParameterMutation.Builder
Overrides

build()

public ParameterMutation build()
Returns
Type Description
ParameterMutation

buildPartial()

public ParameterMutation buildPartial()
Returns
Type Description
ParameterMutation

clear()

public ParameterMutation.Builder clear()
Returns
Type Description
ParameterMutation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ParameterMutation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ParameterMutation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ParameterMutation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ParameterMutation.Builder
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];

Returns
Type Description
ParameterMutation.Builder

This builder for chaining.

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];

Returns
Type Description
ParameterMutation.Builder

This builder for chaining.

clone()

public ParameterMutation.Builder clone()
Returns
Type Description
ParameterMutation.Builder
Overrides

getDefaultInstanceForType()

public ParameterMutation getDefaultInstanceForType()
Returns
Type Description
ParameterMutation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ParameterMutation other)

public ParameterMutation.Builder mergeFrom(ParameterMutation other)
Parameter
Name Description
other ParameterMutation
Returns
Type Description
ParameterMutation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ParameterMutation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ParameterMutation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ParameterMutation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ParameterMutation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ParameterMutation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ParameterMutation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ParameterMutation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ParameterMutation.Builder
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.

Returns
Type Description
ParameterMutation.Builder

This builder for chaining.

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.

Returns
Type Description
ParameterMutation.Builder

This builder for chaining.

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.

Returns
Type Description
ParameterMutation.Builder

This builder for chaining.

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.

Returns
Type Description
ParameterMutation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ParameterMutation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ParameterMutation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ParameterMutation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ParameterMutation.Builder
Overrides