Package com.google.cloud.chronicle.v1
Class EditChartRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EditChartRequest.Builder>
com.google.cloud.chronicle.v1.EditChartRequest.Builder
- All Implemented Interfaces:
EditChartRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EditChartRequest
public static final class EditChartRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EditChartRequest.Builder>
implements EditChartRequestOrBuilder
Request message to edit chart in a dashboard.Protobuf type
google.cloud.chronicle.v1.EditChartRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllLanguageFeatures(Iterable<? extends LanguageFeature> values) Optional.addAllLanguageFeaturesValue(Iterable<Integer> values) Optional.Optional.addLanguageFeaturesValue(int value) Optional.build()clear()Optional.Optional.Required.Optional.Required.Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.FieldMaskRequired.com.google.protobuf.FieldMask.BuilderRequired.com.google.protobuf.FieldMaskOrBuilderRequired.getLanguageFeatures(int index) Optional.intOptional.Optional.intgetLanguageFeaturesValue(int index) Optional.Optional.getName()Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.Optional.mergeEditMask(com.google.protobuf.FieldMask value) Required.mergeFrom(EditChartRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDashboardChart(DashboardChart value) Optional.setDashboardChart(DashboardChart.Builder builderForValue) Optional.setDashboardQuery(DashboardQuery value) Optional.setDashboardQuery(DashboardQuery.Builder builderForValue) Optional.setEditMask(com.google.protobuf.FieldMask value) Required.setEditMask(com.google.protobuf.FieldMask.Builder builderForValue) Required.setLanguageFeatures(int index, LanguageFeature value) Optional.setLanguageFeaturesValue(int index, int value) Optional.Required.setNameBytes(com.google.protobuf.ByteString value) 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<EditChartRequest.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<EditChartRequest.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<EditChartRequest.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<EditChartRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EditChartRequest.Builder>
-
mergeFrom
public EditChartRequest.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<EditChartRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getNamein interfaceEditChartRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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) = { ... }- Specified by:
getNameBytesin interfaceEditChartRequestOrBuilder- Returns:
- The bytes for name.
-
setName
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) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDashboardQuery
public boolean hasDashboardQuery()Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDashboardQueryin interfaceEditChartRequestOrBuilder- Returns:
- Whether the dashboardQuery field is set.
-
getDashboardQuery
Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDashboardQueryin interfaceEditChartRequestOrBuilder- Returns:
- The dashboardQuery.
-
setDashboardQuery
Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setDashboardQuery
Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDashboardQuery
Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearDashboardQuery
Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getDashboardQueryBuilder
Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getDashboardQueryOrBuilder
Optional. Query for the edited chart.
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDashboardQueryOrBuilderin interfaceEditChartRequestOrBuilder
-
hasDashboardChart
public boolean hasDashboardChart()Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDashboardChartin interfaceEditChartRequestOrBuilder- Returns:
- Whether the dashboardChart field is set.
-
getDashboardChart
Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDashboardChartin interfaceEditChartRequestOrBuilder- Returns:
- The dashboardChart.
-
setDashboardChart
Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setDashboardChart
Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDashboardChart
Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearDashboardChart
Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDashboardChartBuilder
Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDashboardChartOrBuilder
Optional. Edited chart.
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDashboardChartOrBuilderin interfaceEditChartRequestOrBuilder
-
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];- Specified by:
hasEditMaskin interfaceEditChartRequestOrBuilder- Returns:
- Whether the editMask field is set.
-
getEditMask
public com.google.protobuf.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];- Specified by:
getEditMaskin interfaceEditChartRequestOrBuilder- Returns:
- The editMask.
-
setEditMask
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]; -
setEditMask
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]; -
mergeEditMask
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]; -
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]; -
getEditMaskBuilder
public com.google.protobuf.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]; -
getEditMaskOrBuilder
public com.google.protobuf.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];- Specified by:
getEditMaskOrBuilderin interfaceEditChartRequestOrBuilder
-
getLanguageFeaturesList
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageFeaturesListin interfaceEditChartRequestOrBuilder- Returns:
- A list containing the languageFeatures.
-
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];- Specified by:
getLanguageFeaturesCountin interfaceEditChartRequestOrBuilder- Returns:
- The count of languageFeatures.
-
getLanguageFeatures
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageFeaturesin interfaceEditChartRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The languageFeatures at the given index.
-
setLanguageFeatures
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The languageFeatures to set.- Returns:
- This builder for chaining.
-
addLanguageFeatures
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The languageFeatures to add.- Returns:
- This builder for chaining.
-
addAllLanguageFeatures
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The languageFeatures to add.- Returns:
- This builder for chaining.
-
clearLanguageFeatures
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getLanguageFeaturesValueList
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageFeaturesValueListin interfaceEditChartRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for languageFeatures.
-
getLanguageFeaturesValue
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];- Specified by:
getLanguageFeaturesValuein interfaceEditChartRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of languageFeatures at the given index.
-
setLanguageFeaturesValue
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for languageFeatures to set.- Returns:
- This builder for chaining.
-
addLanguageFeaturesValue
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for languageFeatures to add.- Returns:
- This builder for chaining.
-
addAllLanguageFeaturesValue
Optional. Language Features present in the query.
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The enum numeric values on the wire for languageFeatures to add.- Returns:
- This builder for chaining.
-