Send feedback
Class CreateCustomDimensionRequest.Builder (0.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.28.0 keyboard_arrow_down
public static final class CreateCustomDimensionRequest . Builder extends GeneratedMessageV3 . Builder<CreateCustomDimensionRequest . Builder > implements CreateCustomDimensionRequestOrBuilder
Request message for CreateCustomDimension RPC.
Protobuf type google.analytics.admin.v1beta.CreateCustomDimensionRequest
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCustomDimensionRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CreateCustomDimensionRequest build ()
buildPartial()
public CreateCustomDimensionRequest buildPartial ()
clear()
public CreateCustomDimensionRequest . Builder clear ()
Overrides
clearCustomDimension()
public CreateCustomDimensionRequest . Builder clearCustomDimension ()
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateCustomDimensionRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCustomDimensionRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearParent()
public CreateCustomDimensionRequest . Builder clearParent ()
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateCustomDimensionRequest . Builder clone ()
Overrides
getCustomDimension()
public CustomDimension getCustomDimension ()
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomDimensionBuilder()
public CustomDimension . Builder getCustomDimensionBuilder ()
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomDimensionOrBuilder()
public CustomDimensionOrBuilder getCustomDimensionOrBuilder ()
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateCustomDimensionRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getParent()
public String getParent ()
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description String
The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns Type Description ByteString
The bytes for parent.
hasCustomDimension()
public boolean hasCustomDimension ()
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description boolean
Whether the customDimension field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeCustomDimension(CustomDimension value)
public CreateCustomDimensionRequest . Builder mergeCustomDimension ( CustomDimension value )
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateCustomDimensionRequest other)
public CreateCustomDimensionRequest . Builder mergeFrom ( CreateCustomDimensionRequest other )
public CreateCustomDimensionRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CreateCustomDimensionRequest . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCustomDimensionRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCustomDimension(CustomDimension value)
public CreateCustomDimensionRequest . Builder setCustomDimension ( CustomDimension value )
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
setCustomDimension(CustomDimension.Builder builderForValue)
public CreateCustomDimensionRequest . Builder setCustomDimension ( CustomDimension . Builder builderForValue )
Required. The CustomDimension to create.
.google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCustomDimensionRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setParent(String value)
public CreateCustomDimensionRequest . Builder setParent ( String value )
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter Name Description value
String
The parent to set.
setParentBytes(ByteString value)
public CreateCustomDimensionRequest . Builder setParentBytes ( ByteString value )
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter Name Description value
ByteString
The bytes for parent to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCustomDimensionRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCustomDimensionRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The page provides documentation for the `CreateCustomDimensionRequest.Builder` class in the Google Analytics Admin API's Java library, specifically within version 0.28.0."],["This builder class extends `GeneratedMessageV3.Builder` and implements `CreateCustomDimensionRequestOrBuilder`, offering methods for constructing a request to create a custom dimension."],["The latest version of this builder is found in version 0.70.0, and there are multiple available versions ranging from 0.14.0 up to the latest, enabling users to select the one that aligns with their project's requirements."],["It includes methods for managing the request's `parent` property and `custom_dimension` property, which are both required for creating a `CustomDimension`."],["The class inherits and overrides various methods from `AbstractMessage`, `AbstractMessageLite`, and `GeneratedMessageV3`, facilitating operations such as building, merging, clearing fields, and managing unknown fields within the request."]]],[]]