public static final class UpdateCustomMetricRequest.Builder extends GeneratedMessage.Builder<UpdateCustomMetricRequest.Builder> implements UpdateCustomMetricRequestOrBuilderRequest message for UpdateCustomMetric RPC.
Protobuf type google.analytics.admin.v1beta.UpdateCustomMetricRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateCustomMetricRequest.BuilderImplements
UpdateCustomMetricRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateCustomMetricRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest |
|
buildPartial()
public UpdateCustomMetricRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest |
|
clear()
public UpdateCustomMetricRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
clearCustomMetric()
public UpdateCustomMetricRequest.Builder clearCustomMetric()The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
getCustomMetric()
public CustomMetric getCustomMetric()The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
| Returns | |
|---|---|
| Type | Description |
CustomMetric |
The customMetric. |
getCustomMetricBuilder()
public CustomMetric.Builder getCustomMetricBuilder()The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
| Returns | |
|---|---|
| Type | Description |
CustomMetric.Builder |
|
getCustomMetricOrBuilder()
public CustomMetricOrBuilder getCustomMetricOrBuilder()The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
| Returns | |
|---|---|
| Type | Description |
CustomMetricOrBuilder |
|
getDefaultInstanceForType()
public UpdateCustomMetricRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomMetric(CustomMetric value)
public UpdateCustomMetricRequest.Builder mergeCustomMetric(CustomMetric value)The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomMetric |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
mergeFrom(UpdateCustomMetricRequest other)
public UpdateCustomMetricRequest.Builder mergeFrom(UpdateCustomMetricRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateCustomMetricRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateCustomMetricRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateCustomMetricRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
setCustomMetric(CustomMetric value)
public UpdateCustomMetricRequest.Builder setCustomMetric(CustomMetric value)The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomMetric |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
setCustomMetric(CustomMetric.Builder builderForValue)
public UpdateCustomMetricRequest.Builder setCustomMetric(CustomMetric.Builder builderForValue)The CustomMetric to update
.google.analytics.admin.v1beta.CustomMetric custom_metric = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomMetric.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateCustomMetricRequest.Builder |
|