Class UpdateCalculatedMetricRequest.Builder (0.59.0)

public static final class UpdateCalculatedMetricRequest.Builder extends GeneratedMessageV3.Builder<UpdateCalculatedMetricRequest.Builder> implements UpdateCalculatedMetricRequestOrBuilder

Request message for UpdateCalculatedMetric RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCalculatedMetricRequest build()
Returns
Type Description
UpdateCalculatedMetricRequest

buildPartial()

public UpdateCalculatedMetricRequest buildPartial()
Returns
Type Description
UpdateCalculatedMetricRequest

clear()

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

clearCalculatedMetric()

public UpdateCalculatedMetricRequest.Builder clearCalculatedMetric()

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCalculatedMetricRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

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

clone()

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

getCalculatedMetric()

public CalculatedMetric getCalculatedMetric()

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CalculatedMetric

The calculatedMetric.

getCalculatedMetricBuilder()

public CalculatedMetric.Builder getCalculatedMetricBuilder()

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CalculatedMetric.Builder

getCalculatedMetricOrBuilder()

public CalculatedMetricOrBuilder getCalculatedMetricOrBuilder()

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CalculatedMetricOrBuilder

getDefaultInstanceForType()

public UpdateCalculatedMetricRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCalculatedMetricRequest

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

hasCalculatedMetric()

public boolean hasCalculatedMetric()

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

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

mergeCalculatedMetric(CalculatedMetric value)

public UpdateCalculatedMetricRequest.Builder mergeCalculatedMetric(CalculatedMetric value)

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CalculatedMetric
Returns
Type Description
UpdateCalculatedMetricRequest.Builder

mergeFrom(UpdateCalculatedMetricRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

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

setCalculatedMetric(CalculatedMetric value)

public UpdateCalculatedMetricRequest.Builder setCalculatedMetric(CalculatedMetric value)

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CalculatedMetric
Returns
Type Description
UpdateCalculatedMetricRequest.Builder

setCalculatedMetric(CalculatedMetric.Builder builderForValue)

public UpdateCalculatedMetricRequest.Builder setCalculatedMetric(CalculatedMetric.Builder builderForValue)

Required. The CalculatedMetric to update

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CalculatedMetric.Builder
Returns
Type Description
UpdateCalculatedMetricRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

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