Package com.google.cloud.chronicle.v1
Class DashboardChart.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder>
com.google.cloud.chronicle.v1.DashboardChart.Builder
- All Implemented Interfaces:
DashboardChartOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DashboardChart
public static final class DashboardChart.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder>
implements DashboardChartOrBuilder
DashboardChart resource.Protobuf type
google.cloud.chronicle.v1.DashboardChart-
Method Summary
Modifier and TypeMethodDescriptionaddAllTokens(Iterable<String> values) Optional.Optional.addTokensBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Required.Optional.Optional.Output only.Output only.Optional.Optional.Required.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.getEtag()Optional.com.google.protobuf.ByteStringOptional.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Optional.intOptional.getTokens(int index) Optional.com.google.protobuf.ByteStringgetTokensBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Required.Required.Required.booleanOptional.booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.Optional.mergeFrom(DashboardChart other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.Optional.setChartDatasource(DashboardChart.ChartDatasource.Builder builderForValue) Optional.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.Optional.setDrillDownConfig(DashboardChart.DrillDownConfig.Builder builderForValue) Optional.Optional.setEtagBytes(com.google.protobuf.ByteString value) Optional.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNativeDashboard(String value) Output only.setNativeDashboardBytes(com.google.protobuf.ByteString value) Output only.setTileType(TileType value) Optional.setTileTypeValue(int value) Optional.Optional.Required.setVisualization(DashboardChart.Visualization.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DashboardChart.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Builder>
-
mergeFrom
public DashboardChart.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DashboardChart.Builder>- Throws:
IOException
-
getName
Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceDashboardChartOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceDashboardChartOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDashboardChartOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getNativeDashboard
Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNativeDashboardin interfaceDashboardChartOrBuilder- Returns:
- The nativeDashboard.
-
getNativeDashboardBytes
public com.google.protobuf.ByteString getNativeDashboardBytes()Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNativeDashboardBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for nativeDashboard.
-
setNativeDashboard
Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The nativeDashboard to set.- Returns:
- This builder for chaining.
-
clearNativeDashboard
Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNativeDashboardBytes
Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for nativeDashboard to set.- Returns:
- This builder for chaining.
-
getTileTypeValue
public int getTileTypeValue()Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTileTypeValuein interfaceDashboardChartOrBuilder- Returns:
- The enum numeric value on the wire for tileType.
-
setTileTypeValue
Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for tileType to set.- Returns:
- This builder for chaining.
-
getTileType
Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTileTypein interfaceDashboardChartOrBuilder- Returns:
- The tileType.
-
setTileType
Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The tileType to set.- Returns:
- This builder for chaining.
-
clearTileType
Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasChartDatasource
public boolean hasChartDatasource()Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasChartDatasourcein interfaceDashboardChartOrBuilder- Returns:
- Whether the chartDatasource field is set.
-
getChartDatasource
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getChartDatasourcein interfaceDashboardChartOrBuilder- Returns:
- The chartDatasource.
-
setChartDatasource
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setChartDatasource
public DashboardChart.Builder setChartDatasource(DashboardChart.ChartDatasource.Builder builderForValue) Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeChartDatasource
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearChartDatasource
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getChartDatasourceBuilder
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getChartDatasourceOrBuilder
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getChartDatasourceOrBuilderin interfaceDashboardChartOrBuilder
-
hasVisualization
public boolean hasVisualization()Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasVisualizationin interfaceDashboardChartOrBuilder- Returns:
- Whether the visualization field is set.
-
getVisualization
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVisualizationin interfaceDashboardChartOrBuilder- Returns:
- The visualization.
-
setVisualization
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED]; -
setVisualization
public DashboardChart.Builder setVisualization(DashboardChart.Visualization.Builder builderForValue) Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED]; -
mergeVisualization
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED]; -
clearVisualization
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED]; -
getVisualizationBuilder
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED]; -
getVisualizationOrBuilder
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVisualizationOrBuilderin interfaceDashboardChartOrBuilder
-
getEtag
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceDashboardChartOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEtagBytes
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
hasDrillDownConfig
public boolean hasDrillDownConfig()Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDrillDownConfigin interfaceDashboardChartOrBuilder- Returns:
- Whether the drillDownConfig field is set.
-
getDrillDownConfig
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDrillDownConfigin interfaceDashboardChartOrBuilder- Returns:
- The drillDownConfig.
-
setDrillDownConfig
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL]; -
setDrillDownConfig
public DashboardChart.Builder setDrillDownConfig(DashboardChart.DrillDownConfig.Builder builderForValue) Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDrillDownConfig
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL]; -
clearDrillDownConfig
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getDrillDownConfigBuilder
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getDrillDownConfigOrBuilder
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDrillDownConfigOrBuilderin interfaceDashboardChartOrBuilder
-
getTokensList
public com.google.protobuf.ProtocolStringList getTokensList()Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensListin interfaceDashboardChartOrBuilder- Returns:
- A list containing the tokens.
-
getTokensCount
public int getTokensCount()Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensCountin interfaceDashboardChartOrBuilder- Returns:
- The count of tokens.
-
getTokens
Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensin interfaceDashboardChartOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tokens at the given index.
-
getTokensBytes
public com.google.protobuf.ByteString getTokensBytes(int index) Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensBytesin interfaceDashboardChartOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tokens at the given index.
-
setTokens
Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The tokens to set.- Returns:
- This builder for chaining.
-
addTokens
Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The tokens to add.- Returns:
- This builder for chaining.
-
addAllTokens
Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The tokens to add.- Returns:
- This builder for chaining.
-
clearTokens
Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addTokensBytes
Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the tokens to add.- Returns:
- This builder for chaining.
-