public static final class DashboardDefinition.ChartConfig.Builder extends GeneratedMessage.Builder<DashboardDefinition.ChartConfig.Builder> implements DashboardDefinition.ChartConfigOrBuilderConfiguration of the chart including chart reference, layout and filters.
Protobuf type google.cloud.chronicle.v1.DashboardDefinition.ChartConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DashboardDefinition.ChartConfig.BuilderImplements
DashboardDefinition.ChartConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFiltersIds(Iterable<String> values)
public DashboardDefinition.ChartConfig.Builder addAllFiltersIds(Iterable<String> values)Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The filtersIds to add. |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |
addFiltersIds(String value)
public DashboardDefinition.ChartConfig.Builder addFiltersIds(String value)Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filtersIds to add. |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |
addFiltersIdsBytes(ByteString value)
public DashboardDefinition.ChartConfig.Builder addFiltersIdsBytes(ByteString value)Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the filtersIds to add. |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |
build()
public DashboardDefinition.ChartConfig build()| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig |
|
buildPartial()
public DashboardDefinition.ChartConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig |
|
clear()
public DashboardDefinition.ChartConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
clearChartLayout()
public DashboardDefinition.ChartConfig.Builder clearChartLayout()
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
clearDashboardChart()
public DashboardDefinition.ChartConfig.Builder clearDashboardChart()
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |
clearFiltersIds()
public DashboardDefinition.ChartConfig.Builder clearFiltersIds()Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |
getChartLayout()
public DashboardDefinition.ChartConfig.ChartLayout getChartLayout()
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.ChartLayout |
The chartLayout. |
getChartLayoutBuilder()
public DashboardDefinition.ChartConfig.ChartLayout.Builder getChartLayoutBuilder()
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.ChartLayout.Builder |
|
getChartLayoutOrBuilder()
public DashboardDefinition.ChartConfig.ChartLayoutOrBuilder getChartLayoutOrBuilder()
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.ChartLayoutOrBuilder |
|
getDashboardChart()
public String getDashboardChart()
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The dashboardChart. |
getDashboardChartBytes()
public ByteString getDashboardChartBytes()
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dashboardChart. |
getDefaultInstanceForType()
public DashboardDefinition.ChartConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFiltersIds(int index)
public String getFiltersIds(int index)Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The filtersIds at the given index. |
getFiltersIdsBytes(int index)
public ByteString getFiltersIdsBytes(int index)Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the filtersIds at the given index. |
getFiltersIdsCount()
public int getFiltersIdsCount()Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The count of filtersIds. |
getFiltersIdsList()
public ProtocolStringList getFiltersIdsList()Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the filtersIds. |
hasChartLayout()
public boolean hasChartLayout()
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the chartLayout field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeChartLayout(DashboardDefinition.ChartConfig.ChartLayout value)
public DashboardDefinition.ChartConfig.Builder mergeChartLayout(DashboardDefinition.ChartConfig.ChartLayout value)
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardDefinition.ChartConfig.ChartLayout |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
mergeFrom(DashboardDefinition.ChartConfig other)
public DashboardDefinition.ChartConfig.Builder mergeFrom(DashboardDefinition.ChartConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DashboardDefinition.ChartConfig |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DashboardDefinition.ChartConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DashboardDefinition.ChartConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
setChartLayout(DashboardDefinition.ChartConfig.ChartLayout value)
public DashboardDefinition.ChartConfig.Builder setChartLayout(DashboardDefinition.ChartConfig.ChartLayout value)
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardDefinition.ChartConfig.ChartLayout |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
setChartLayout(DashboardDefinition.ChartConfig.ChartLayout.Builder builderForValue)
public DashboardDefinition.ChartConfig.Builder setChartLayout(DashboardDefinition.ChartConfig.ChartLayout.Builder builderForValue)
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardDefinition.ChartConfig.ChartLayout.Builder |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
|
setDashboardChart(String value)
public DashboardDefinition.ChartConfig.Builder setDashboardChart(String value)
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dashboardChart to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |
setDashboardChartBytes(ByteString value)
public DashboardDefinition.ChartConfig.Builder setDashboardChartBytes(ByteString value)
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dashboardChart to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |
setFiltersIds(int index, String value)
public DashboardDefinition.ChartConfig.Builder setFiltersIds(int index, String value)Dashboard filters applied to the chart.
repeated string filters_ids = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe filtersIds to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.Builder |
This builder for chaining. |