public static final class UpdateCustomMetricRequest.Builder extends GeneratedMessageV3.Builder<UpdateCustomMetricRequest.Builder> implements UpdateCustomMetricRequestOrBuilder
Request message for UpdateCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.UpdateCustomMetricRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCustomMetricRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateCustomMetricRequest build()
Returns
buildPartial()
public UpdateCustomMetricRequest buildPartial()
Returns
clear()
public UpdateCustomMetricRequest.Builder clear()
Returns
Overrides
clearCustomMetric()
public UpdateCustomMetricRequest.Builder clearCustomMetric()
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateCustomMetricRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCustomMetricRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateCustomMetricRequest.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
clone()
public UpdateCustomMetricRequest.Builder clone()
Returns
Overrides
getCustomMetric()
public CustomMetric getCustomMetric()
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Returns
getCustomMetricBuilder()
public CustomMetric.Builder getCustomMetricBuilder()
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Returns
getCustomMetricOrBuilder()
public CustomMetricOrBuilder getCustomMetricOrBuilder()
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Returns
getDefaultInstanceForType()
public UpdateCustomMetricRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
hasCustomMetric()
public boolean hasCustomMetric()
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Returns
Type | Description |
boolean | Whether the customMetric 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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCustomMetric(CustomMetric value)
public UpdateCustomMetricRequest.Builder mergeCustomMetric(CustomMetric value)
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Parameter
Returns
mergeFrom(UpdateCustomMetricRequest other)
public UpdateCustomMetricRequest.Builder mergeFrom(UpdateCustomMetricRequest other)
Parameter
Returns
public UpdateCustomMetricRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCustomMetricRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomMetricRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCustomMetricRequest.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
Returns
setCustomMetric(CustomMetric value)
public UpdateCustomMetricRequest.Builder setCustomMetric(CustomMetric value)
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Parameter
Returns
setCustomMetric(CustomMetric.Builder builderForValue)
public UpdateCustomMetricRequest.Builder setCustomMetric(CustomMetric.Builder builderForValue)
The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCustomMetricRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCustomMetricRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomMetricRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateCustomMetricRequest.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
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCustomMetricRequest.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