Class UpdateCustomDimensionRequest.Builder (0.52.0)

public static final class UpdateCustomDimensionRequest.Builder extends GeneratedMessageV3.Builder<UpdateCustomDimensionRequest.Builder> implements UpdateCustomDimensionRequestOrBuilder

Request message for UpdateCustomDimension RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateCustomDimensionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCustomDimensionRequest build()
Returns
Type Description
UpdateCustomDimensionRequest

buildPartial()

public UpdateCustomDimensionRequest buildPartial()
Returns
Type Description
UpdateCustomDimensionRequest

clear()

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

clearCustomDimension()

public UpdateCustomDimensionRequest.Builder clearCustomDimension()

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Returns
Type Description
UpdateCustomDimensionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateCustomDimensionRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. 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
UpdateCustomDimensionRequest.Builder

clone()

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

getCustomDimension()

public CustomDimension getCustomDimension()

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Returns
Type Description
CustomDimension

The customDimension.

getCustomDimensionBuilder()

public CustomDimension.Builder getCustomDimensionBuilder()

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Returns
Type Description
CustomDimension.Builder

getCustomDimensionOrBuilder()

public CustomDimensionOrBuilder getCustomDimensionOrBuilder()

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Returns
Type Description
CustomDimensionOrBuilder

getDefaultInstanceForType()

public UpdateCustomDimensionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCustomDimensionRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. 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. 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. 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

hasCustomDimension()

public boolean hasCustomDimension()

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Returns
Type Description
boolean

Whether the customDimension field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. 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

mergeCustomDimension(CustomDimension value)

public UpdateCustomDimensionRequest.Builder mergeCustomDimension(CustomDimension value)

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Parameter
Name Description
value CustomDimension
Returns
Type Description
UpdateCustomDimensionRequest.Builder

mergeFrom(UpdateCustomDimensionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateCustomDimensionRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. 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
UpdateCustomDimensionRequest.Builder

setCustomDimension(CustomDimension value)

public UpdateCustomDimensionRequest.Builder setCustomDimension(CustomDimension value)

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Parameter
Name Description
value CustomDimension
Returns
Type Description
UpdateCustomDimensionRequest.Builder

setCustomDimension(CustomDimension.Builder builderForValue)

public UpdateCustomDimensionRequest.Builder setCustomDimension(CustomDimension.Builder builderForValue)

The CustomDimension to update

.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1;

Parameter
Name Description
builderForValue CustomDimension.Builder
Returns
Type Description
UpdateCustomDimensionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateCustomDimensionRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. 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
UpdateCustomDimensionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCustomDimensionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. 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
UpdateCustomDimensionRequest.Builder