public static final class CreateCustomDimensionRequest.Builder extends GeneratedMessageV3.Builder<CreateCustomDimensionRequest.Builder> implements CreateCustomDimensionRequestOrBuilder
Request message for CreateCustomDimension RPC.
Protobuf type google.analytics.admin.v1alpha.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCustomDimensionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateCustomDimensionRequest build()
Returns
buildPartial()
public CreateCustomDimensionRequest buildPartial()
Returns
clear()
public CreateCustomDimensionRequest.Builder clear()
Returns
Overrides
clearCustomDimension()
public CreateCustomDimensionRequest.Builder clearCustomDimension()
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateCustomDimensionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCustomDimensionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateCustomDimensionRequest.Builder clearParent()
Required. Example format: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateCustomDimensionRequest.Builder clone()
Returns
Overrides
getCustomDimension()
public CustomDimension getCustomDimension()
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCustomDimensionBuilder()
public CustomDimension.Builder getCustomDimensionBuilder()
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCustomDimensionOrBuilder()
public CustomDimensionOrBuilder getCustomDimensionOrBuilder()
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateCustomDimensionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
hasCustomDimension()
public boolean hasCustomDimension()
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the customDimension field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCustomDimension(CustomDimension value)
public CreateCustomDimensionRequest.Builder mergeCustomDimension(CustomDimension value)
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateCustomDimensionRequest other)
public CreateCustomDimensionRequest.Builder mergeFrom(CreateCustomDimensionRequest other)
Parameter
Returns
public CreateCustomDimensionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateCustomDimensionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCustomDimensionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCustomDimension(CustomDimension value)
public CreateCustomDimensionRequest.Builder setCustomDimension(CustomDimension value)
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setCustomDimension(CustomDimension.Builder builderForValue)
public CreateCustomDimensionRequest.Builder setCustomDimension(CustomDimension.Builder builderForValue)
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCustomDimensionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCustomDimensionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCustomDimensionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides