Class UpdateKeyEventRequest.Builder (0.59.0)

public static final class UpdateKeyEventRequest.Builder extends GeneratedMessageV3.Builder<UpdateKeyEventRequest.Builder> implements UpdateKeyEventRequestOrBuilder

Request message for UpdateKeyEvent RPC

Protobuf type google.analytics.admin.v1alpha.UpdateKeyEventRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateKeyEventRequest build()
Returns
Type Description
UpdateKeyEventRequest

buildPartial()

public UpdateKeyEventRequest buildPartial()
Returns
Type Description
UpdateKeyEventRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyEvent()

public UpdateKeyEventRequest.Builder clearKeyEvent()

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateKeyEventRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateKeyEventRequest.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
UpdateKeyEventRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateKeyEventRequest getDefaultInstanceForType()
Returns
Type Description
UpdateKeyEventRequest

getDescriptorForType()

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

getKeyEvent()

public KeyEvent getKeyEvent()

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyEvent

The keyEvent.

getKeyEventBuilder()

public KeyEvent.Builder getKeyEventBuilder()

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyEvent.Builder

getKeyEventOrBuilder()

public KeyEventOrBuilder getKeyEventOrBuilder()

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyEventOrBuilder

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

hasKeyEvent()

public boolean hasKeyEvent()

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the keyEvent 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

mergeFrom(UpdateKeyEventRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeKeyEvent(KeyEvent value)

public UpdateKeyEventRequest.Builder mergeKeyEvent(KeyEvent value)

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value KeyEvent
Returns
Type Description
UpdateKeyEventRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateKeyEventRequest.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
UpdateKeyEventRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyEvent(KeyEvent value)

public UpdateKeyEventRequest.Builder setKeyEvent(KeyEvent value)

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value KeyEvent
Returns
Type Description
UpdateKeyEventRequest.Builder

setKeyEvent(KeyEvent.Builder builderForValue)

public UpdateKeyEventRequest.Builder setKeyEvent(KeyEvent.Builder builderForValue)

Required. The Key Event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue KeyEvent.Builder
Returns
Type Description
UpdateKeyEventRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateKeyEventRequest.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
UpdateKeyEventRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateKeyEventRequest.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
UpdateKeyEventRequest.Builder