Class UpdateCalculatedMetricRequest.Builder (0.57.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.57.0keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCalculatedMetricRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public UpdateCalculatedMetricRequest build ()
buildPartial()
public UpdateCalculatedMetricRequest buildPartial ()
clear()
public UpdateCalculatedMetricRequest . Builder clear ()
Overrides
clearCalculatedMetric()
public UpdateCalculatedMetricRequest . Builder clearCalculatedMetric ()
Required. The CalculatedMetric to update
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCalculatedMetricRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCalculatedMetricRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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];
clone()
public UpdateCalculatedMetricRequest . Builder clone ()
Overrides
getCalculatedMetric()
public CalculatedMetric getCalculatedMetric ()
Required. The CalculatedMetric to update
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];
getCalculatedMetricBuilder()
public CalculatedMetric . Builder getCalculatedMetricBuilder ()
Required. The CalculatedMetric to update
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];
getCalculatedMetricOrBuilder()
public CalculatedMetricOrBuilder getCalculatedMetricOrBuilder ()
Required. The CalculatedMetric to update
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCalculatedMetricRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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];
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];
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
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];
mergeFrom(UpdateCalculatedMetricRequest other)
public UpdateCalculatedMetricRequest . Builder mergeFrom ( UpdateCalculatedMetricRequest other )
public UpdateCalculatedMetricRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public UpdateCalculatedMetricRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCalculatedMetricRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCalculatedMetricRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCalculatedMetricRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCalculatedMetricRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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];
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The webpage provides documentation for the `UpdateCalculatedMetricRequest.Builder` class in the Google Analytics Admin API, specifically within version 0.57.0."],["The `UpdateCalculatedMetricRequest.Builder` class is used to construct requests for updating calculated metrics within Google Analytics."],["This documentation covers the class's inheritance, implemented interfaces, methods, static methods and parameters, providing a comprehensive reference for developers."],["The documentation also includes links to documentation for related classes, such as `CalculatedMetric` and `FieldMask`, as well as versions all the way up to 0.70.0."],["The latest version of this doc is version 0.70.0."]]],[]]