Class UpdateKeyEventRequest.Builder (0.62.0)

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

Request message for UpdateKeyEvent RPC

Protobuf type google.analytics.admin.v1beta.UpdateKeyEventRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateKeyEventRequest build()
Returns
TypeDescription
UpdateKeyEventRequest

buildPartial()

public UpdateKeyEventRequest buildPartial()
Returns
TypeDescription
UpdateKeyEventRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateKeyEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateKeyEventRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateKeyEventRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateKeyEventRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

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

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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

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

mergeFrom(UpdateKeyEventRequest other)

public UpdateKeyEventRequest.Builder mergeFrom(UpdateKeyEventRequest other)
Parameter
NameDescription
otherUpdateKeyEventRequest
Returns
TypeDescription
UpdateKeyEventRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateKeyEventRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueKeyEvent
Returns
TypeDescription
UpdateKeyEventRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateKeyEventRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueKeyEvent
Returns
TypeDescription
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.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueKeyEvent.Builder
Returns
TypeDescription
UpdateKeyEventRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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