public static final class DynamicField.Builder extends GeneratedMessage.Builder<DynamicField.Builder> implements DynamicFieldOrBuilderA dynamic field in Looker (Custom Dimension, Custom Measure, or Table Calculation).
Protobuf type google.cloud.geminidataanalytics.v1.DynamicField
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DynamicField.BuilderImplements
DynamicFieldOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllArgs(Iterable<String> values)
public DynamicField.Builder addAllArgs(Iterable<String> values)Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The args to add. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
addArgs(String value)
public DynamicField.Builder addArgs(String value)Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe args to add. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
addArgsBytes(ByteString value)
public DynamicField.Builder addArgsBytes(ByteString value)Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the args to add. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
build()
public DynamicField build()| Returns | |
|---|---|
| Type | Description |
DynamicField |
|
buildPartial()
public DynamicField buildPartial()| Returns | |
|---|---|
| Type | Description |
DynamicField |
|
clear()
public DynamicField.Builder clear()| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
|
clearArgs()
public DynamicField.Builder clearArgs()Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearBasedOn()
public DynamicField.Builder clearBasedOn()Optional. For custom measures, this identifies the measure the field is based on.
optional string based_on = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearCalculationType()
public DynamicField.Builder clearCalculationType() Optional. Calculation type for table calculations. Refer to
https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
for all possible values depending on the category of dynamic field.
optional string calculation_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearCategory()
public DynamicField.Builder clearCategory()Optional. The type of dynamic field: dimension, measure, table_calculation. Looker can use the category type to specify the name of the dynamic field. However, Looker Conversational Analytics keeps the category separate from the name of the dynamic field. For more details, see https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
optional string category = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearDescription()
public DynamicField.Builder clearDescription()Optional. Description of the dynamic field.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearExpression()
public DynamicField.Builder clearExpression()Optional. Looker expression to create a table calculation.
optional string expression = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearFilterExpression()
public DynamicField.Builder clearFilterExpression()Optional. Looker expression to filter a base measure.
optional string filter_expression = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearIsDisabled()
public DynamicField.Builder clearIsDisabled()Optional. Whether the dynamic field is disabled.
optional bool is_disabled = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearKindHint()
public DynamicField.Builder clearKindHint()Optional. Identifies whether the dynamic field returns a dimension or measure.
optional string kind_hint = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearLabel()
public DynamicField.Builder clearLabel()Optional. The label defines the display name of the dynamic field.
optional string label = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearName()
public DynamicField.Builder clearName()Optional. The name of the dynamic field in LookML.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearType()
public DynamicField.Builder clearType()Optional. For custom measures, this identifies the type of aggregation (e.g. sum).
optional string type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearTypeHint()
public DynamicField.Builder clearTypeHint()Optional. Identifies the data type the dynamic field's expression should produce.
optional string type_hint = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearValueFormat()
public DynamicField.Builder clearValueFormat()Optional. Value format for the dynamic field.
optional string value_format = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
clearValueFormatName()
public DynamicField.Builder clearValueFormatName()Optional. Value format name for the dynamic field if using a default named format.
optional string value_format_name = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
getArgs(int index)
public String getArgs(int index)Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The args at the given index. |
getArgsBytes(int index)
public ByteString getArgsBytes(int index)Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the args at the given index. |
getArgsCount()
public int getArgsCount()Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of args. |
getArgsList()
public ProtocolStringList getArgsList()Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the args. |
getBasedOn()
public String getBasedOn()Optional. For custom measures, this identifies the measure the field is based on.
optional string based_on = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The basedOn. |
getBasedOnBytes()
public ByteString getBasedOnBytes()Optional. For custom measures, this identifies the measure the field is based on.
optional string based_on = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for basedOn. |
getCalculationType()
public String getCalculationType() Optional. Calculation type for table calculations. Refer to
https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
for all possible values depending on the category of dynamic field.
optional string calculation_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The calculationType. |
getCalculationTypeBytes()
public ByteString getCalculationTypeBytes() Optional. Calculation type for table calculations. Refer to
https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
for all possible values depending on the category of dynamic field.
optional string calculation_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for calculationType. |
getCategory()
public String getCategory()Optional. The type of dynamic field: dimension, measure, table_calculation. Looker can use the category type to specify the name of the dynamic field. However, Looker Conversational Analytics keeps the category separate from the name of the dynamic field. For more details, see https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
optional string category = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The category. |
getCategoryBytes()
public ByteString getCategoryBytes()Optional. The type of dynamic field: dimension, measure, table_calculation. Looker can use the category type to specify the name of the dynamic field. However, Looker Conversational Analytics keeps the category separate from the name of the dynamic field. For more details, see https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
optional string category = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for category. |
getDefaultInstanceForType()
public DynamicField getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DynamicField |
|
getDescription()
public String getDescription()Optional. Description of the dynamic field.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of the dynamic field.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpression()
public String getExpression()Optional. Looker expression to create a table calculation.
optional string expression = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The expression. |
getExpressionBytes()
public ByteString getExpressionBytes()Optional. Looker expression to create a table calculation.
optional string expression = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for expression. |
getFilterExpression()
public String getFilterExpression()Optional. Looker expression to filter a base measure.
optional string filter_expression = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filterExpression. |
getFilterExpressionBytes()
public ByteString getFilterExpressionBytes()Optional. Looker expression to filter a base measure.
optional string filter_expression = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filterExpression. |
getIsDisabled()
public boolean getIsDisabled()Optional. Whether the dynamic field is disabled.
optional bool is_disabled = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The isDisabled. |
getKindHint()
public String getKindHint()Optional. Identifies whether the dynamic field returns a dimension or measure.
optional string kind_hint = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The kindHint. |
getKindHintBytes()
public ByteString getKindHintBytes()Optional. Identifies whether the dynamic field returns a dimension or measure.
optional string kind_hint = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kindHint. |
getLabel()
public String getLabel()Optional. The label defines the display name of the dynamic field.
optional string label = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()Optional. The label defines the display name of the dynamic field.
optional string label = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getName()
public String getName()Optional. The name of the dynamic field in LookML.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. The name of the dynamic field in LookML.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public String getType()Optional. For custom measures, this identifies the type of aggregation (e.g. sum).
optional string type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()Optional. For custom measures, this identifies the type of aggregation (e.g. sum).
optional string type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
getTypeHint()
public String getTypeHint()Optional. Identifies the data type the dynamic field's expression should produce.
optional string type_hint = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The typeHint. |
getTypeHintBytes()
public ByteString getTypeHintBytes()Optional. Identifies the data type the dynamic field's expression should produce.
optional string type_hint = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for typeHint. |
getValueFormat()
public String getValueFormat()Optional. Value format for the dynamic field.
optional string value_format = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The valueFormat. |
getValueFormatBytes()
public ByteString getValueFormatBytes()Optional. Value format for the dynamic field.
optional string value_format = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for valueFormat. |
getValueFormatName()
public String getValueFormatName()Optional. Value format name for the dynamic field if using a default named format.
optional string value_format_name = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The valueFormatName. |
getValueFormatNameBytes()
public ByteString getValueFormatNameBytes()Optional. Value format name for the dynamic field if using a default named format.
optional string value_format_name = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for valueFormatName. |
hasBasedOn()
public boolean hasBasedOn()Optional. For custom measures, this identifies the measure the field is based on.
optional string based_on = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the basedOn field is set. |
hasCalculationType()
public boolean hasCalculationType() Optional. Calculation type for table calculations. Refer to
https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
for all possible values depending on the category of dynamic field.
optional string calculation_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the calculationType field is set. |
hasCategory()
public boolean hasCategory()Optional. The type of dynamic field: dimension, measure, table_calculation. Looker can use the category type to specify the name of the dynamic field. However, Looker Conversational Analytics keeps the category separate from the name of the dynamic field. For more details, see https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
optional string category = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the category field is set. |
hasDescription()
public boolean hasDescription()Optional. Description of the dynamic field.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasExpression()
public boolean hasExpression()Optional. Looker expression to create a table calculation.
optional string expression = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expression field is set. |
hasFilterExpression()
public boolean hasFilterExpression()Optional. Looker expression to filter a base measure.
optional string filter_expression = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the filterExpression field is set. |
hasIsDisabled()
public boolean hasIsDisabled()Optional. Whether the dynamic field is disabled.
optional bool is_disabled = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the isDisabled field is set. |
hasKindHint()
public boolean hasKindHint()Optional. Identifies whether the dynamic field returns a dimension or measure.
optional string kind_hint = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kindHint field is set. |
hasLabel()
public boolean hasLabel()Optional. The label defines the display name of the dynamic field.
optional string label = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the label field is set. |
hasName()
public boolean hasName()Optional. The name of the dynamic field in LookML.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasType()
public boolean hasType()Optional. For custom measures, this identifies the type of aggregation (e.g. sum).
optional string type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
hasTypeHint()
public boolean hasTypeHint()Optional. Identifies the data type the dynamic field's expression should produce.
optional string type_hint = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the typeHint field is set. |
hasValueFormat()
public boolean hasValueFormat()Optional. Value format for the dynamic field.
optional string value_format = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the valueFormat field is set. |
hasValueFormatName()
public boolean hasValueFormatName()Optional. Value format name for the dynamic field if using a default named format.
optional string value_format_name = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the valueFormatName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DynamicField other)
public DynamicField.Builder mergeFrom(DynamicField other)| Parameter | |
|---|---|
| Name | Description |
other |
DynamicField |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DynamicField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DynamicField.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
|
setArgs(int index, String value)
public DynamicField.Builder setArgs(int index, String value)Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
repeated string args = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe args to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setBasedOn(String value)
public DynamicField.Builder setBasedOn(String value)Optional. For custom measures, this identifies the measure the field is based on.
optional string based_on = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe basedOn to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setBasedOnBytes(ByteString value)
public DynamicField.Builder setBasedOnBytes(ByteString value)Optional. For custom measures, this identifies the measure the field is based on.
optional string based_on = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for basedOn to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setCalculationType(String value)
public DynamicField.Builder setCalculationType(String value) Optional. Calculation type for table calculations. Refer to
https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
for all possible values depending on the category of dynamic field.
optional string calculation_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe calculationType to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setCalculationTypeBytes(ByteString value)
public DynamicField.Builder setCalculationTypeBytes(ByteString value) Optional. Calculation type for table calculations. Refer to
https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
for all possible values depending on the category of dynamic field.
optional string calculation_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for calculationType to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setCategory(String value)
public DynamicField.Builder setCategory(String value)Optional. The type of dynamic field: dimension, measure, table_calculation. Looker can use the category type to specify the name of the dynamic field. However, Looker Conversational Analytics keeps the category separate from the name of the dynamic field. For more details, see https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
optional string category = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe category to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setCategoryBytes(ByteString value)
public DynamicField.Builder setCategoryBytes(ByteString value)Optional. The type of dynamic field: dimension, measure, table_calculation. Looker can use the category type to specify the name of the dynamic field. However, Looker Conversational Analytics keeps the category separate from the name of the dynamic field. For more details, see https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
optional string category = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for category to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setDescription(String value)
public DynamicField.Builder setDescription(String value)Optional. Description of the dynamic field.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DynamicField.Builder setDescriptionBytes(ByteString value)Optional. Description of the dynamic field.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setExpression(String value)
public DynamicField.Builder setExpression(String value)Optional. Looker expression to create a table calculation.
optional string expression = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe expression to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setExpressionBytes(ByteString value)
public DynamicField.Builder setExpressionBytes(ByteString value)Optional. Looker expression to create a table calculation.
optional string expression = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for expression to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setFilterExpression(String value)
public DynamicField.Builder setFilterExpression(String value)Optional. Looker expression to filter a base measure.
optional string filter_expression = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filterExpression to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setFilterExpressionBytes(ByteString value)
public DynamicField.Builder setFilterExpressionBytes(ByteString value)Optional. Looker expression to filter a base measure.
optional string filter_expression = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filterExpression to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setIsDisabled(boolean value)
public DynamicField.Builder setIsDisabled(boolean value)Optional. Whether the dynamic field is disabled.
optional bool is_disabled = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe isDisabled to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setKindHint(String value)
public DynamicField.Builder setKindHint(String value)Optional. Identifies whether the dynamic field returns a dimension or measure.
optional string kind_hint = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kindHint to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setKindHintBytes(ByteString value)
public DynamicField.Builder setKindHintBytes(ByteString value)Optional. Identifies whether the dynamic field returns a dimension or measure.
optional string kind_hint = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kindHint to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setLabel(String value)
public DynamicField.Builder setLabel(String value)Optional. The label defines the display name of the dynamic field.
optional string label = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public DynamicField.Builder setLabelBytes(ByteString value)Optional. The label defines the display name of the dynamic field.
optional string label = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setName(String value)
public DynamicField.Builder setName(String value)Optional. The name of the dynamic field in LookML.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DynamicField.Builder setNameBytes(ByteString value)Optional. The name of the dynamic field in LookML.
optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setType(String value)
public DynamicField.Builder setType(String value)Optional. For custom measures, this identifies the type of aggregation (e.g. sum).
optional string type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public DynamicField.Builder setTypeBytes(ByteString value)Optional. For custom measures, this identifies the type of aggregation (e.g. sum).
optional string type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setTypeHint(String value)
public DynamicField.Builder setTypeHint(String value)Optional. Identifies the data type the dynamic field's expression should produce.
optional string type_hint = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe typeHint to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setTypeHintBytes(ByteString value)
public DynamicField.Builder setTypeHintBytes(ByteString value)Optional. Identifies the data type the dynamic field's expression should produce.
optional string type_hint = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for typeHint to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setValueFormat(String value)
public DynamicField.Builder setValueFormat(String value)Optional. Value format for the dynamic field.
optional string value_format = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe valueFormat to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setValueFormatBytes(ByteString value)
public DynamicField.Builder setValueFormatBytes(ByteString value)Optional. Value format for the dynamic field.
optional string value_format = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for valueFormat to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setValueFormatName(String value)
public DynamicField.Builder setValueFormatName(String value)Optional. Value format name for the dynamic field if using a default named format.
optional string value_format_name = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe valueFormatName to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |
setValueFormatNameBytes(ByteString value)
public DynamicField.Builder setValueFormatNameBytes(ByteString value)Optional. Value format name for the dynamic field if using a default named format.
optional string value_format_name = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for valueFormatName to set. |
| Returns | |
|---|---|
| Type | Description |
DynamicField.Builder |
This builder for chaining. |