Class ParameterMutation.Builder (0.51.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ParameterMutation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ParameterMutation.Builder
Overrides

build()

public ParameterMutation build()
Returns
TypeDescription
ParameterMutation

buildPartial()

public ParameterMutation buildPartial()
Returns
TypeDescription
ParameterMutation

clear()

public ParameterMutation.Builder clear()
Returns
TypeDescription
ParameterMutation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ParameterMutation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ParameterMutation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ParameterMutation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ParameterMutation.Builder

This builder for chaining.

clone()

public ParameterMutation.Builder clone()
Returns
TypeDescription
ParameterMutation.Builder
Overrides

getDefaultInstanceForType()

public ParameterMutation getDefaultInstanceForType()
Returns
TypeDescription
ParameterMutation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ParameterMutation other)

public ParameterMutation.Builder mergeFrom(ParameterMutation other)
Parameter
NameDescription
otherParameterMutation
Returns
TypeDescription
ParameterMutation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ParameterMutation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ParameterMutation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ParameterMutation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ParameterMutation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ParameterMutation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ParameterMutation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ParameterMutation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parameter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parameter to set.

Returns
TypeDescription
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
NameDescription
valueString

The parameterValue to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parameterValue to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ParameterMutation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ParameterMutation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ParameterMutation.Builder
Overrides