Class UpdateCustomDimensionRequest.Builder (0.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCustomDimensionRequest build()
Returns
TypeDescription
UpdateCustomDimensionRequest

buildPartial()

public UpdateCustomDimensionRequest buildPartial()
Returns
TypeDescription
UpdateCustomDimensionRequest

clear()

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

clearCustomDimension()

public UpdateCustomDimensionRequest.Builder clearCustomDimension()

The CustomDimension to update

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

Returns
TypeDescription
UpdateCustomDimensionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomDimension()

public CustomDimension getCustomDimension()

The CustomDimension to update

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

Returns
TypeDescription
CustomDimension

The customDimension.

getCustomDimensionBuilder()

public CustomDimension.Builder getCustomDimensionBuilder()

The CustomDimension to update

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

Returns
TypeDescription
CustomDimension.Builder

getCustomDimensionOrBuilder()

public CustomDimensionOrBuilder getCustomDimensionOrBuilder()

The CustomDimension to update

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

Returns
TypeDescription
CustomDimensionOrBuilder

getDefaultInstanceForType()

public UpdateCustomDimensionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateCustomDimensionRequest

getDescriptorForType()

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

hasCustomDimension()

public boolean hasCustomDimension()

The CustomDimension to update

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

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

mergeCustomDimension(CustomDimension value)

public UpdateCustomDimensionRequest.Builder mergeCustomDimension(CustomDimension value)

The CustomDimension to update

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

Parameter
NameDescription
valueCustomDimension
Returns
TypeDescription
UpdateCustomDimensionRequest.Builder

mergeFrom(UpdateCustomDimensionRequest other)

public UpdateCustomDimensionRequest.Builder mergeFrom(UpdateCustomDimensionRequest other)
Parameter
NameDescription
otherUpdateCustomDimensionRequest
Returns
TypeDescription
UpdateCustomDimensionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomDimension(CustomDimension value)

public UpdateCustomDimensionRequest.Builder setCustomDimension(CustomDimension value)

The CustomDimension to update

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

Parameter
NameDescription
valueCustomDimension
Returns
TypeDescription
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
NameDescription
builderForValueCustomDimension.Builder
Returns
TypeDescription
UpdateCustomDimensionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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