Class UpdateEventCreateRuleRequest.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEventCreateRuleRequest build()
Returns
TypeDescription
UpdateEventCreateRuleRequest

buildPartial()

public UpdateEventCreateRuleRequest buildPartial()
Returns
TypeDescription
UpdateEventCreateRuleRequest

clear()

public UpdateEventCreateRuleRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateEventCreateRuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateEventCreateRuleRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEventCreateRuleRequest

getDescriptorForType()

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

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEventCreateRule
Returns
TypeDescription
UpdateEventCreateRuleRequest.Builder

mergeFrom(UpdateEventCreateRuleRequest other)

public UpdateEventCreateRuleRequest.Builder mergeFrom(UpdateEventCreateRuleRequest other)
Parameter
NameDescription
otherUpdateEventCreateRuleRequest
Returns
TypeDescription
UpdateEventCreateRuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEventCreateRuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueEventCreateRule
Returns
TypeDescription
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
NameDescription
builderForValueEventCreateRule.Builder
Returns
TypeDescription
UpdateEventCreateRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateEventCreateRuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateEventCreateRuleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEventCreateRuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateEventCreateRuleRequest.Builder