Package com.google.cloud.chronicle.v1
Class DashboardDefinition.ChartConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DashboardDefinition.ChartConfig.Builder>
com.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.Builder
- All Implemented Interfaces:
DashboardDefinition.ChartConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DashboardDefinition.ChartConfig
public static final class DashboardDefinition.ChartConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DashboardDefinition.ChartConfig.Builder>
implements DashboardDefinition.ChartConfigOrBuilder
Configuration of the chart including chart reference, layout and filters.Protobuf type
google.cloud.chronicle.v1.DashboardDefinition.ChartConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllFiltersIds(Iterable<String> values) Dashboard filters applied to the chart.addFiltersIds(String value) Dashboard filters applied to the chart.addFiltersIdsBytes(com.google.protobuf.ByteString value) Dashboard filters applied to the chart.build()clear().google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }Dashboard filters applied to the chart..google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }com.google.protobuf.ByteStringstring dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFiltersIds(int index) Dashboard filters applied to the chart.com.google.protobuf.ByteStringgetFiltersIdsBytes(int index) Dashboard filters applied to the chart.intDashboard filters applied to the chart.com.google.protobuf.ProtocolStringListDashboard filters applied to the chart.boolean.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;setChartLayout(DashboardDefinition.ChartConfig.ChartLayout.Builder builderForValue) .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;setDashboardChart(String value) string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }setDashboardChartBytes(com.google.protobuf.ByteString value) string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }setFiltersIds(int index, String value) Dashboard filters applied to the chart.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<DashboardDefinition.ChartConfig.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<DashboardDefinition.ChartConfig.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<DashboardDefinition.ChartConfig.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<DashboardDefinition.ChartConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DashboardDefinition.ChartConfig.Builder>
-
mergeFrom
public DashboardDefinition.ChartConfig.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<DashboardDefinition.ChartConfig.Builder>- Throws:
IOException
-
getDashboardChart
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getDashboardChartin interfaceDashboardDefinition.ChartConfigOrBuilder- Returns:
- The dashboardChart.
-
getDashboardChartBytes
public com.google.protobuf.ByteString getDashboardChartBytes()string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getDashboardChartBytesin interfaceDashboardDefinition.ChartConfigOrBuilder- Returns:
- The bytes for dashboardChart.
-
setDashboardChart
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The dashboardChart to set.- Returns:
- This builder for chaining.
-
clearDashboardChart
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setDashboardChartBytes
public DashboardDefinition.ChartConfig.Builder setDashboardChartBytes(com.google.protobuf.ByteString value) string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for dashboardChart to set.- Returns:
- This builder for chaining.
-
hasChartLayout
public boolean hasChartLayout().google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;- Specified by:
hasChartLayoutin interfaceDashboardDefinition.ChartConfigOrBuilder- Returns:
- Whether the chartLayout field is set.
-
getChartLayout
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;- Specified by:
getChartLayoutin interfaceDashboardDefinition.ChartConfigOrBuilder- Returns:
- The chartLayout.
-
setChartLayout
public DashboardDefinition.ChartConfig.Builder setChartLayout(DashboardDefinition.ChartConfig.ChartLayout value) .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2; -
setChartLayout
public DashboardDefinition.ChartConfig.Builder setChartLayout(DashboardDefinition.ChartConfig.ChartLayout.Builder builderForValue) .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2; -
mergeChartLayout
public DashboardDefinition.ChartConfig.Builder mergeChartLayout(DashboardDefinition.ChartConfig.ChartLayout value) .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2; -
clearChartLayout
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2; -
getChartLayoutBuilder
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2; -
getChartLayoutOrBuilder
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;- Specified by:
getChartLayoutOrBuilderin interfaceDashboardDefinition.ChartConfigOrBuilder
-
getFiltersIdsList
public com.google.protobuf.ProtocolStringList getFiltersIdsList()Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Specified by:
getFiltersIdsListin interfaceDashboardDefinition.ChartConfigOrBuilder- Returns:
- A list containing the filtersIds.
-
getFiltersIdsCount
public int getFiltersIdsCount()Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Specified by:
getFiltersIdsCountin interfaceDashboardDefinition.ChartConfigOrBuilder- Returns:
- The count of filtersIds.
-
getFiltersIds
Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Specified by:
getFiltersIdsin interfaceDashboardDefinition.ChartConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The filtersIds at the given index.
-
getFiltersIdsBytes
public com.google.protobuf.ByteString getFiltersIdsBytes(int index) Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Specified by:
getFiltersIdsBytesin interfaceDashboardDefinition.ChartConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filtersIds at the given index.
-
setFiltersIds
Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Parameters:
index- The index to set the value at.value- The filtersIds to set.- Returns:
- This builder for chaining.
-
addFiltersIds
Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Parameters:
value- The filtersIds to add.- Returns:
- This builder for chaining.
-
addAllFiltersIds
Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Parameters:
values- The filtersIds to add.- Returns:
- This builder for chaining.
-
clearFiltersIds
Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Returns:
- This builder for chaining.
-
addFiltersIdsBytes
public DashboardDefinition.ChartConfig.Builder addFiltersIdsBytes(com.google.protobuf.ByteString value) Dashboard filters applied to the chart.
repeated string filters_ids = 4;- Parameters:
value- The bytes of the filtersIds to add.- Returns:
- This builder for chaining.
-