public static final class ParameterMutation.Builder extends GeneratedMessage.Builder<ParameterMutation.Builder> implements ParameterMutationOrBuilderDefines an event parameter to mutate.
Protobuf type google.analytics.admin.v1alpha.ParameterMutation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ParameterMutation.BuilderImplements
ParameterMutationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public ParameterMutation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ParameterMutation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ParameterMutation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ParameterMutation.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for parameterValue to set. |
| Returns | |
|---|---|
| Type | Description |
ParameterMutation.Builder |
This builder for chaining. |