Interface DynamicFieldOrBuilder (0.27.0)

public interface DynamicFieldOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs(int index)

public abstract 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 int

The index of the element to return.

Returns
Type Description
String

The args at the given index.

getArgsBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the args at the given index.

getArgsCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the args.

getBasedOn()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getDescription()

public abstract 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 abstract 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.

getExpression()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.