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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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.v1alpha.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.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomDimensionBuilder()
public CustomDimension.Builder getCustomDimensionBuilder()
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomDimensionOrBuilder()
public CustomDimensionOrBuilder getCustomDimensionOrBuilder()
Required. The CustomDimension to create.
.google.analytics.admin.v1alpha.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.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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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.v1alpha.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.v1alpha.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