- 0.62.0 (latest)
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class CreateCalculatedMetricRequest.Builder extends GeneratedMessageV3.Builder<CreateCalculatedMetricRequest.Builder> implements CreateCalculatedMetricRequestOrBuilder
Request message for CreateCalculatedMetric RPC.
Protobuf type google.analytics.admin.v1alpha.CreateCalculatedMetricRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateCalculatedMetricRequest.BuilderImplements
CreateCalculatedMetricRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCalculatedMetricRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
build()
public CreateCalculatedMetricRequest build()
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest |
buildPartial()
public CreateCalculatedMetricRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest |
clear()
public CreateCalculatedMetricRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
clearCalculatedMetric()
public CreateCalculatedMetricRequest.Builder clearCalculatedMetric()
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
clearCalculatedMetricId()
public CreateCalculatedMetricRequest.Builder clearCalculatedMetricId()
Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name.
This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}".
string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateCalculatedMetricRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCalculatedMetricRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
clearParent()
public CreateCalculatedMetricRequest.Builder clearParent()
Required. Format: properties/{property_id} Example: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder | This builder for chaining. |
clone()
public CreateCalculatedMetricRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
getCalculatedMetric()
public CalculatedMetric getCalculatedMetric()
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CalculatedMetric | The calculatedMetric. |
getCalculatedMetricBuilder()
public CalculatedMetric.Builder getCalculatedMetricBuilder()
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CalculatedMetric.Builder |
getCalculatedMetricId()
public String getCalculatedMetricId()
Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name.
This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}".
string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The calculatedMetricId. |
getCalculatedMetricIdBytes()
public ByteString getCalculatedMetricIdBytes()
Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name.
This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}".
string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for calculatedMetricId. |
getCalculatedMetricOrBuilder()
public CalculatedMetricOrBuilder getCalculatedMetricOrBuilder()
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CalculatedMetricOrBuilder |
getDefaultInstanceForType()
public CreateCalculatedMetricRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. Format: properties/{property_id} Example: 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. Format: properties/{property_id} Example: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
hasCalculatedMetric()
public boolean hasCalculatedMetric()
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the calculatedMetric field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCalculatedMetric(CalculatedMetric value)
public CreateCalculatedMetricRequest.Builder mergeCalculatedMetric(CalculatedMetric value)
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | CalculatedMetric |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
mergeFrom(CreateCalculatedMetricRequest other)
public CreateCalculatedMetricRequest.Builder mergeFrom(CreateCalculatedMetricRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateCalculatedMetricRequest |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCalculatedMetricRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateCalculatedMetricRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCalculatedMetricRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
setCalculatedMetric(CalculatedMetric value)
public CreateCalculatedMetricRequest.Builder setCalculatedMetric(CalculatedMetric value)
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | CalculatedMetric |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
setCalculatedMetric(CalculatedMetric.Builder builderForValue)
public CreateCalculatedMetricRequest.Builder setCalculatedMetric(CalculatedMetric.Builder builderForValue)
Required. The CalculatedMetric to create.
.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | CalculatedMetric.Builder |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
setCalculatedMetricId(String value)
public CreateCalculatedMetricRequest.Builder setCalculatedMetricId(String value)
Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name.
This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}".
string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The calculatedMetricId to set. |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder | This builder for chaining. |
setCalculatedMetricIdBytes(ByteString value)
public CreateCalculatedMetricRequest.Builder setCalculatedMetricIdBytes(ByteString value)
Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name.
This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}".
string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for calculatedMetricId to set. |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCalculatedMetricRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
setParent(String value)
public CreateCalculatedMetricRequest.Builder setParent(String value)
Required. Format: properties/{property_id} Example: properties/1234
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateCalculatedMetricRequest.Builder setParentBytes(ByteString value)
Required. Format: properties/{property_id} Example: 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 | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCalculatedMetricRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCalculatedMetricRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateCalculatedMetricRequest.Builder |