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
|