Class UpdateCustomMetricRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateCustomMetricRequest.Builder>
com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder
- All Implemented Interfaces:
UpdateCustomMetricRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateCustomMetricRequest
public static final class UpdateCustomMetricRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateCustomMetricRequest.Builder>
implements UpdateCustomMetricRequestOrBuilder
Request message for UpdateCustomMetric RPC.Protobuf type
google.analytics.admin.v1alpha.UpdateCustomMetricRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The CustomMetric to updateRequired.The CustomMetric to updateThe CustomMetric to updateThe CustomMetric to updatestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.FieldMaskRequired.com.google.protobuf.FieldMask.BuilderRequired.com.google.protobuf.FieldMaskOrBuilderRequired.booleanThe CustomMetric to updatebooleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCustomMetric(CustomMetric value) The CustomMetric to updatemergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateMask(com.google.protobuf.FieldMask value) Required.setCustomMetric(CustomMetric value) The CustomMetric to updatesetCustomMetric(CustomMetric.Builder builderForValue) The CustomMetric to updatesetUpdateMask(com.google.protobuf.FieldMask value) Required.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpdateCustomMetricRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpdateCustomMetricRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpdateCustomMetricRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateCustomMetricRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateCustomMetricRequest.Builder>
-
mergeFrom
public UpdateCustomMetricRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateCustomMetricRequest.Builder>- Throws:
IOException
-
hasCustomMetric
public boolean hasCustomMetric()The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1;- Specified by:
hasCustomMetricin interfaceUpdateCustomMetricRequestOrBuilder- Returns:
- Whether the customMetric field is set.
-
getCustomMetric
The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1;- Specified by:
getCustomMetricin interfaceUpdateCustomMetricRequestOrBuilder- Returns:
- The customMetric.
-
setCustomMetric
The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; -
setCustomMetric
The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; -
mergeCustomMetric
The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; -
clearCustomMetric
The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; -
getCustomMetricBuilder
The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; -
getCustomMetricOrBuilder
The CustomMetric to update
.google.analytics.admin.v1alpha.CustomMetric custom_metric = 1;- Specified by:
getCustomMetricOrBuilderin interfaceUpdateCustomMetricRequestOrBuilder
-
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];- Specified by:
hasUpdateMaskin interfaceUpdateCustomMetricRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.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];- Specified by:
getUpdateMaskin interfaceUpdateCustomMetricRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
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
public UpdateCustomMetricRequest.Builder setUpdateMask(com.google.protobuf.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]; -
mergeUpdateMask
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]; -
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]; -
getUpdateMaskBuilder
public com.google.protobuf.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 com.google.protobuf.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];- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateCustomMetricRequestOrBuilder
-