Send feedback
Class CreateCustomDimensionRequest.Builder (0.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.34.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."],[[["This webpage provides documentation for the `CreateCustomDimensionRequest.Builder` class within the Google Analytics Admin API's Java library, specifically version 0.34.0."],["The `CreateCustomDimensionRequest.Builder` class is used to construct requests for creating custom dimensions in Google Analytics, and it extends `GeneratedMessageV3.Builder`."],["The documentation includes links to various versions of the Google Analytics Admin API, with version 0.70.0 being the latest."],["It details the class's inheritance hierarchy, starting from `Object` and extending through several abstract classes to `GeneratedMessageV3.Builder`, and provides descriptions of methods to add, build, clear, get and set requests for Custom Dimensions."],["The documentation defines in great detail how to use this class to add, build, clear, get, or set any number of fields related to the request or its content, including its parent, as well as the custom dimension."]]],[]]