Class UpdateConversionEventRequest.Builder (0.62.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversionEventRequest build()
Returns
Type Description
UpdateConversionEventRequest

buildPartial()

public UpdateConversionEventRequest buildPartial()
Returns
Type Description
UpdateConversionEventRequest

clear()

public UpdateConversionEventRequest.Builder clear()
Returns
Type Description
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
Type Description
UpdateConversionEventRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConversionEventRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
UpdateConversionEventRequest.Builder

clone()

public UpdateConversionEventRequest.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ConversionEventOrBuilder

getDefaultInstanceForType()

public UpdateConversionEventRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConversionEventRequest

getDescriptorForType()

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

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
Type Description
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
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

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
Name Description
value ConversionEvent
Returns
Type Description
UpdateConversionEventRequest.Builder

mergeFrom(UpdateConversionEventRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversionEventRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
value ConversionEvent
Returns
Type Description
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
Name Description
builderForValue ConversionEvent.Builder
Returns
Type Description
UpdateConversionEventRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversionEventRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
UpdateConversionEventRequest.Builder