Class UpdateConversionEventRequest.Builder (0.45.0)

public static final class UpdateConversionEventRequest.Builder extends GeneratedMessageV3.Builder<UpdateConversionEventRequest.Builder> implements UpdateConversionEventRequestOrBuilder

Request message for UpdateConversionEvent RPC

Protobuf type google.analytics.admin.v1beta.UpdateConversionEventRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversionEventRequest build()
Returns
TypeDescription
UpdateConversionEventRequest

buildPartial()

public UpdateConversionEventRequest buildPartial()
Returns
TypeDescription
UpdateConversionEventRequest

clear()

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

clearConversionEvent()

public UpdateConversionEventRequest.Builder clearConversionEvent()

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateConversionEventRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConversionEventRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateConversionEventRequest.Builder
Overrides

clearUpdateMask()

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

clone()

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

getConversionEvent()

public ConversionEvent getConversionEvent()

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversionEvent

The conversionEvent.

getConversionEventBuilder()

public ConversionEvent.Builder getConversionEventBuilder()

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversionEvent.Builder

getConversionEventOrBuilder()

public ConversionEventOrBuilder getConversionEventOrBuilder()

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversionEventOrBuilder

getDefaultInstanceForType()

public UpdateConversionEventRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConversionEventRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

hasConversionEvent()

public boolean hasConversionEvent()

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

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

mergeConversionEvent(ConversionEvent value)

public UpdateConversionEventRequest.Builder mergeConversionEvent(ConversionEvent value)

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueConversionEvent
Returns
TypeDescription
UpdateConversionEventRequest.Builder

mergeFrom(UpdateConversionEventRequest other)

public UpdateConversionEventRequest.Builder mergeFrom(UpdateConversionEventRequest other)
Parameter
NameDescription
otherUpdateConversionEventRequest
Returns
TypeDescription
UpdateConversionEventRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversionEventRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateConversionEventRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

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

setConversionEvent(ConversionEvent value)

public UpdateConversionEventRequest.Builder setConversionEvent(ConversionEvent value)

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueConversionEvent
Returns
TypeDescription
UpdateConversionEventRequest.Builder

setConversionEvent(ConversionEvent.Builder builderForValue)

public UpdateConversionEventRequest.Builder setConversionEvent(ConversionEvent.Builder builderForValue)

Required. The conversion event to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueConversionEvent.Builder
Returns
TypeDescription
UpdateConversionEventRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversionEventRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateConversionEventRequest.Builder
Overrides

setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

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