public static final class AddChartRequest.Builder extends GeneratedMessage.Builder<AddChartRequest.Builder> implements AddChartRequestOrBuilderRequest message to add chart in a dashboard.
Protobuf type google.cloud.chronicle.v1.AddChartRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AddChartRequest.BuilderImplements
AddChartRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AddChartRequest build()| Returns | |
|---|---|
| Type | Description |
AddChartRequest |
|
buildPartial()
public AddChartRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
AddChartRequest |
|
clear()
public AddChartRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
clearChartLayout()
public AddChartRequest.Builder clearChartLayout()Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
clearDashboardChart()
public AddChartRequest.Builder clearDashboardChart()Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
clearDashboardQuery()
public AddChartRequest.Builder clearDashboardQuery()Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
clearName()
public AddChartRequest.Builder clearName()Required. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
This builder for chaining. |
getChartLayout()
public DashboardDefinition.ChartConfig.ChartLayout getChartLayout()Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.ChartLayout |
The chartLayout. |
getChartLayoutBuilder()
public DashboardDefinition.ChartConfig.ChartLayout.Builder getChartLayoutBuilder()Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.ChartLayout.Builder |
|
getChartLayoutOrBuilder()
public DashboardDefinition.ChartConfig.ChartLayoutOrBuilder getChartLayoutOrBuilder()Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DashboardDefinition.ChartConfig.ChartLayoutOrBuilder |
|
getDashboardChart()
public DashboardChart getDashboardChart()Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DashboardChart |
The dashboardChart. |
getDashboardChartBuilder()
public DashboardChart.Builder getDashboardChartBuilder()Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
getDashboardChartOrBuilder()
public DashboardChartOrBuilder getDashboardChartOrBuilder()Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DashboardChartOrBuilder |
|
getDashboardQuery()
public DashboardQuery getDashboardQuery()Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardQuery |
The dashboardQuery. |
getDashboardQueryBuilder()
public DashboardQuery.Builder getDashboardQueryBuilder()Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardQuery.Builder |
|
getDashboardQueryOrBuilder()
public DashboardQueryOrBuilder getDashboardQueryOrBuilder()Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardQueryOrBuilder |
|
getDefaultInstanceForType()
public AddChartRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AddChartRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasChartLayout()
public boolean hasChartLayout()Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the chartLayout field is set. |
hasDashboardChart()
public boolean hasDashboardChart()Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dashboardChart field is set. |
hasDashboardQuery()
public boolean hasDashboardQuery()Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dashboardQuery 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 AddChartRequest.Builder mergeChartLayout(DashboardDefinition.ChartConfig.ChartLayout value)Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardDefinition.ChartConfig.ChartLayout |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
mergeDashboardChart(DashboardChart value)
public AddChartRequest.Builder mergeDashboardChart(DashboardChart value)Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
mergeDashboardQuery(DashboardQuery value)
public AddChartRequest.Builder mergeDashboardQuery(DashboardQuery value)Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardQuery |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
mergeFrom(AddChartRequest other)
public AddChartRequest.Builder mergeFrom(AddChartRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
AddChartRequest |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AddChartRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AddChartRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
setChartLayout(DashboardDefinition.ChartConfig.ChartLayout value)
public AddChartRequest.Builder setChartLayout(DashboardDefinition.ChartConfig.ChartLayout value)Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardDefinition.ChartConfig.ChartLayout |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
setChartLayout(DashboardDefinition.ChartConfig.ChartLayout.Builder builderForValue)
public AddChartRequest.Builder setChartLayout(DashboardDefinition.ChartConfig.ChartLayout.Builder builderForValue)Required. ChartLayout for newly added chart.
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardDefinition.ChartConfig.ChartLayout.Builder |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
setDashboardChart(DashboardChart value)
public AddChartRequest.Builder setDashboardChart(DashboardChart value)Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
setDashboardChart(DashboardChart.Builder builderForValue)
public AddChartRequest.Builder setDashboardChart(DashboardChart.Builder builderForValue)Required. Chart to be added to the dashboard.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardChart.Builder |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
setDashboardQuery(DashboardQuery value)
public AddChartRequest.Builder setDashboardQuery(DashboardQuery value)Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardQuery |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
setDashboardQuery(DashboardQuery.Builder builderForValue)
public AddChartRequest.Builder setDashboardQuery(DashboardQuery.Builder builderForValue)Optional. Query used to create the chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardQuery.Builder |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
|
setName(String value)
public AddChartRequest.Builder setName(String value)Required. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AddChartRequest.Builder setNameBytes(ByteString value)Required. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AddChartRequest.Builder |
This builder for chaining. |