public static final class EditChartRequest.Builder extends GeneratedMessage.Builder<EditChartRequest.Builder> implements EditChartRequestOrBuilderRequest message to edit chart in a dashboard.
Protobuf type google.cloud.chronicle.v1.EditChartRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EditChartRequest.BuilderImplements
EditChartRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLanguageFeatures(Iterable<? extends LanguageFeature> values)
public EditChartRequest.Builder addAllLanguageFeatures(Iterable<? extends LanguageFeature> values)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.chronicle.v1.LanguageFeature>The languageFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
This builder for chaining. |
addAllLanguageFeaturesValue(Iterable<Integer> values)
public EditChartRequest.Builder addAllLanguageFeaturesValue(Iterable<Integer> values)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for languageFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
This builder for chaining. |
addLanguageFeatures(LanguageFeature value)
public EditChartRequest.Builder addLanguageFeatures(LanguageFeature value)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
LanguageFeatureThe languageFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
This builder for chaining. |
addLanguageFeaturesValue(int value)
public EditChartRequest.Builder addLanguageFeaturesValue(int value)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for languageFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
This builder for chaining. |
build()
public EditChartRequest build()| Returns | |
|---|---|
| Type | Description |
EditChartRequest |
|
buildPartial()
public EditChartRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
EditChartRequest |
|
clear()
public EditChartRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
clearDashboardChart()
public EditChartRequest.Builder clearDashboardChart()Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
clearDashboardQuery()
public EditChartRequest.Builder clearDashboardQuery()Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
clearEditMask()
public EditChartRequest.Builder clearEditMask()Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
clearLanguageFeatures()
public EditChartRequest.Builder clearLanguageFeatures()Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
This builder for chaining. |
clearName()
public EditChartRequest.Builder clearName()Required. The dashboard name to edit 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 |
EditChartRequest.Builder |
This builder for chaining. |
getDashboardChart()
public DashboardChart getDashboardChart()Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart |
The dashboardChart. |
getDashboardChartBuilder()
public DashboardChart.Builder getDashboardChartBuilder()Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Builder |
|
getDashboardChartOrBuilder()
public DashboardChartOrBuilder getDashboardChartOrBuilder()Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChartOrBuilder |
|
getDashboardQuery()
public DashboardQuery getDashboardQuery()Optional. Query for the edited 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 for the edited 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 for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardQueryOrBuilder |
|
getDefaultInstanceForType()
public EditChartRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EditChartRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEditMask()
public FieldMask getEditMask()Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The editMask. |
getEditMaskBuilder()
public FieldMask.Builder getEditMaskBuilder()Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEditMaskOrBuilder()
public FieldMaskOrBuilder getEditMaskOrBuilder()Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getLanguageFeatures(int index)
public LanguageFeature getLanguageFeatures(int index)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
LanguageFeature |
The languageFeatures at the given index. |
getLanguageFeaturesCount()
public int getLanguageFeaturesCount()Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of languageFeatures. |
getLanguageFeaturesList()
public List<LanguageFeature> getLanguageFeaturesList()Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<LanguageFeature> |
A list containing the languageFeatures. |
getLanguageFeaturesValue(int index)
public int getLanguageFeaturesValue(int index)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of languageFeatures at the given index. |
getLanguageFeaturesValueList()
public List<Integer> getLanguageFeaturesValueList()Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for languageFeatures. |
getName()
public String getName()Required. The dashboard name to edit 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 edit 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. |
hasDashboardChart()
public boolean hasDashboardChart()Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dashboardChart field is set. |
hasDashboardQuery()
public boolean hasDashboardQuery()Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dashboardQuery field is set. |
hasEditMask()
public boolean hasEditMask()Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the editMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDashboardChart(DashboardChart value)
public EditChartRequest.Builder mergeDashboardChart(DashboardChart value)Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
mergeDashboardQuery(DashboardQuery value)
public EditChartRequest.Builder mergeDashboardQuery(DashboardQuery value)Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardQuery |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
mergeEditMask(FieldMask value)
public EditChartRequest.Builder mergeEditMask(FieldMask value)Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
mergeFrom(EditChartRequest other)
public EditChartRequest.Builder mergeFrom(EditChartRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
EditChartRequest |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EditChartRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EditChartRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
setDashboardChart(DashboardChart value)
public EditChartRequest.Builder setDashboardChart(DashboardChart value)Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardChart |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
setDashboardChart(DashboardChart.Builder builderForValue)
public EditChartRequest.Builder setDashboardChart(DashboardChart.Builder builderForValue)Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardChart.Builder |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
setDashboardQuery(DashboardQuery value)
public EditChartRequest.Builder setDashboardQuery(DashboardQuery value)Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DashboardQuery |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
setDashboardQuery(DashboardQuery.Builder builderForValue)
public EditChartRequest.Builder setDashboardQuery(DashboardQuery.Builder builderForValue)Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DashboardQuery.Builder |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
setEditMask(FieldMask value)
public EditChartRequest.Builder setEditMask(FieldMask value)Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
setEditMask(FieldMask.Builder builderForValue)
public EditChartRequest.Builder setEditMask(FieldMask.Builder builderForValue)Required. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input
.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
|
setLanguageFeatures(int index, LanguageFeature value)
public EditChartRequest.Builder setLanguageFeatures(int index, LanguageFeature value)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
LanguageFeatureThe languageFeatures to set. |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
This builder for chaining. |
setLanguageFeaturesValue(int index, int value)
public EditChartRequest.Builder setLanguageFeaturesValue(int index, int value)Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for languageFeatures to set. |
| Returns | |
|---|---|
| Type | Description |
EditChartRequest.Builder |
This builder for chaining. |
setName(String value)
public EditChartRequest.Builder setName(String value)Required. The dashboard name to edit 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 |
EditChartRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EditChartRequest.Builder setNameBytes(ByteString value)Required. The dashboard name to edit 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 |
EditChartRequest.Builder |
This builder for chaining. |