Class UpdateEventCreateRuleRequest.Builder (0.59.0)

public static final class UpdateEventCreateRuleRequest.Builder extends GeneratedMessageV3.Builder<UpdateEventCreateRuleRequest.Builder> implements UpdateEventCreateRuleRequestOrBuilder

Request message for UpdateEventCreateRule RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEventCreateRuleRequest build()
Returns
Type Description
UpdateEventCreateRuleRequest

buildPartial()

public UpdateEventCreateRuleRequest buildPartial()
Returns
Type Description
UpdateEventCreateRuleRequest

clear()

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

clearEventCreateRule()

public UpdateEventCreateRuleRequest.Builder clearEventCreateRule()

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEventCreateRuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateEventCreateRuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateEventCreateRuleRequest.Builder
Overrides

clearUpdateMask()

public UpdateEventCreateRuleRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEventCreateRuleRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateEventCreateRuleRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEventCreateRuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventCreateRule()

public EventCreateRule getEventCreateRule()

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventCreateRule

The eventCreateRule.

getEventCreateRuleBuilder()

public EventCreateRule.Builder getEventCreateRuleBuilder()

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventCreateRule.Builder

getEventCreateRuleOrBuilder()

public EventCreateRuleOrBuilder getEventCreateRuleOrBuilder()

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventCreateRuleOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasEventCreateRule()

public boolean hasEventCreateRule()

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventCreateRule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventCreateRule(EventCreateRule value)

public UpdateEventCreateRuleRequest.Builder mergeEventCreateRule(EventCreateRule value)

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventCreateRule
Returns
Type Description
UpdateEventCreateRuleRequest.Builder

mergeFrom(UpdateEventCreateRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateEventCreateRuleRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEventCreateRuleRequest.Builder

setEventCreateRule(EventCreateRule value)

public UpdateEventCreateRuleRequest.Builder setEventCreateRule(EventCreateRule value)

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventCreateRule
Returns
Type Description
UpdateEventCreateRuleRequest.Builder

setEventCreateRule(EventCreateRule.Builder builderForValue)

public UpdateEventCreateRuleRequest.Builder setEventCreateRule(EventCreateRule.Builder builderForValue)

Required. The EventCreateRule to update. The resource's name field is used to identify the EventCreateRule to be updated.

.google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EventCreateRule.Builder
Returns
Type Description
UpdateEventCreateRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateEventCreateRuleRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEventCreateRuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEventCreateRuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateEventCreateRuleRequest.Builder