public static final class DashboardChart.Builder extends GeneratedMessage.Builder<DashboardChart.Builder> implements DashboardChartOrBuilderDashboardChart resource.
Protobuf type google.cloud.chronicle.v1.DashboardChart
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DashboardChart.BuilderImplements
DashboardChartOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTokens(Iterable<String> values)
public DashboardChart.Builder addAllTokens(Iterable<String> values)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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The tokens to add. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
addTokens(String value)
public DashboardChart.Builder addTokens(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tokens to add. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
addTokensBytes(ByteString value)
public DashboardChart.Builder addTokensBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the tokens to add. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
build()
public DashboardChart build()| Returns | |
|---|---|
| Type | Description |
DashboardChart |
|
buildPartial()
public DashboardChart buildPartial()| Returns | |
|---|---|
| Type | Description |
DashboardChart |
|
clear()
public DashboardChart.Builder clear()| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
clearChartDatasource()
public DashboardChart.Builder 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
clearDescription()
public DashboardChart.Builder clearDescription()Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
clearDisplayName()
public DashboardChart.Builder clearDisplayName()Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
clearDrillDownConfig()
public DashboardChart.Builder clearDrillDownConfig()Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
clearEtag()
public DashboardChart.Builder 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 | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
clearName()
public DashboardChart.Builder clearName()Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
clearNativeDashboard()
public DashboardChart.Builder clearNativeDashboard()Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
clearTileType()
public DashboardChart.Builder 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 | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
clearTokens()
public DashboardChart.Builder 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 | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
clearVisualization()
public DashboardChart.Builder 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
getChartDatasource()
public DashboardChart.ChartDatasource 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.ChartDatasource |
The chartDatasource. |
getChartDatasourceBuilder()
public DashboardChart.ChartDatasource.Builder 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.ChartDatasource.Builder |
|
getChartDatasourceOrBuilder()
public DashboardChart.ChartDatasourceOrBuilder 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.ChartDatasourceOrBuilder |
|
getDefaultInstanceForType()
public DashboardChart getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DashboardChart |
|
getDescription()
public String getDescription()Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getDrillDownConfig()
public DashboardChart.DrillDownConfig getDrillDownConfig()Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.DrillDownConfig |
The drillDownConfig. |
getDrillDownConfigBuilder()
public DashboardChart.DrillDownConfig.Builder getDrillDownConfigBuilder()Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.DrillDownConfig.Builder |
|
getDrillDownConfigOrBuilder()
public DashboardChart.DrillDownConfigOrBuilder getDrillDownConfigOrBuilder()Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.DrillDownConfigOrBuilder |
|
getEtag()
public String 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];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getName()
public String getName()Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNativeDashboard()
public String getNativeDashboard()Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The nativeDashboard. |
getNativeDashboardBytes()
public ByteString getNativeDashboardBytes()Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nativeDashboard. |
getTileType()
public TileType getTileType()Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TileType |
The tileType. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for tileType. |
getTokens(int index)
public String getTokens(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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The tokens at the given index. |
getTokensBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the tokens at the given index. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of tokens. |
getTokensList()
public 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the tokens. |
getVisualization()
public DashboardChart.Visualization 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization |
The visualization. |
getVisualizationBuilder()
public DashboardChart.Visualization.Builder 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Builder |
|
getVisualizationOrBuilder()
public DashboardChart.VisualizationOrBuilder 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];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.VisualizationOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the chartDatasource field is set. |
hasDrillDownConfig()
public boolean hasDrillDownConfig()Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the drillDownConfig field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the visualization field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeChartDatasource(DashboardChart.ChartDatasource value)
public DashboardChart.Builder mergeChartDatasource(DashboardChart.ChartDatasource value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart.ChartDatasource |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
mergeDrillDownConfig(DashboardChart.DrillDownConfig value)
public DashboardChart.Builder mergeDrillDownConfig(DashboardChart.DrillDownConfig value)Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart.DrillDownConfig |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
mergeFrom(DashboardChart other)
public DashboardChart.Builder mergeFrom(DashboardChart other)| Parameter | |
|---|---|
| Name | Description |
other |
DashboardChart |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DashboardChart.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DashboardChart.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
mergeVisualization(DashboardChart.Visualization value)
public DashboardChart.Builder mergeVisualization(DashboardChart.Visualization value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart.Visualization |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
setChartDatasource(DashboardChart.ChartDatasource value)
public DashboardChart.Builder setChartDatasource(DashboardChart.ChartDatasource value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart.ChartDatasource |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
setChartDatasource(DashboardChart.ChartDatasource.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardChart.ChartDatasource.Builder |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
setDescription(String value)
public DashboardChart.Builder setDescription(String value)Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DashboardChart.Builder setDescriptionBytes(ByteString value)Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setDisplayName(String value)
public DashboardChart.Builder setDisplayName(String value)Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DashboardChart.Builder setDisplayNameBytes(ByteString value)Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setDrillDownConfig(DashboardChart.DrillDownConfig value)
public DashboardChart.Builder setDrillDownConfig(DashboardChart.DrillDownConfig value)Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart.DrillDownConfig |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
setDrillDownConfig(DashboardChart.DrillDownConfig.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardChart.DrillDownConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
setEtag(String value)
public DashboardChart.Builder setEtag(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public DashboardChart.Builder setEtagBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setName(String value)
public DashboardChart.Builder setName(String value)Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DashboardChart.Builder setNameBytes(ByteString value)Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setNativeDashboard(String value)
public DashboardChart.Builder setNativeDashboard(String value)Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nativeDashboard to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setNativeDashboardBytes(ByteString value)
public DashboardChart.Builder setNativeDashboardBytes(ByteString value)Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nativeDashboard to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setTileType(TileType value)
public DashboardChart.Builder setTileType(TileType value)Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TileTypeThe tileType to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setTileTypeValue(int value)
public DashboardChart.Builder setTileTypeValue(int value)Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for tileType to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setTokens(int index, String value)
public DashboardChart.Builder setTokens(int index, String value)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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe tokens to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
This builder for chaining. |
setVisualization(DashboardChart.Visualization value)
public DashboardChart.Builder setVisualization(DashboardChart.Visualization value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart.Visualization |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
setVisualization(DashboardChart.Visualization.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardChart.Visualization.Builder |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|