Package com.google.cloud.chronicle.v1
Class DashboardChart
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.DashboardChart
- All Implemented Interfaces:
DashboardChartOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DashboardChart
extends com.google.protobuf.GeneratedMessage
implements DashboardChartOrBuilder
DashboardChart resource.Protobuf type
google.cloud.chronicle.v1.DashboardChart- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDashboardChart resource.static final classDatasource of the chart including the query reference and source name.static interfacestatic final classDrill down configuration.static interfacestatic final classVisualization config for a chart.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.static DashboardChartOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Optional.Optional.getEtag()Optional.com.google.protobuf.ByteStringOptional.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<DashboardChart>intOptional.intOptional.getTokens(int index) Optional.com.google.protobuf.ByteStringgetTokensBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Required.Required.booleanOptional.booleanOptional.inthashCode()booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DashboardChart.Builderstatic DashboardChart.BuildernewBuilder(DashboardChart prototype) protected DashboardChart.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DashboardChartparseDelimitedFrom(InputStream input) static DashboardChartparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardChartparseFrom(byte[] data) static DashboardChartparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardChartparseFrom(com.google.protobuf.ByteString data) static DashboardChartparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardChartparseFrom(com.google.protobuf.CodedInputStream input) static DashboardChartparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardChartparseFrom(InputStream input) static DashboardChartparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardChartparseFrom(ByteBuffer data) static DashboardChartparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DashboardChart>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
NATIVE_DASHBOARD_FIELD_NUMBER
public static final int NATIVE_DASHBOARD_FIELD_NUMBER- See Also:
-
TILE_TYPE_FIELD_NUMBER
public static final int TILE_TYPE_FIELD_NUMBER- See Also:
-
CHART_DATASOURCE_FIELD_NUMBER
public static final int CHART_DATASOURCE_FIELD_NUMBER- See Also:
-
VISUALIZATION_FIELD_NUMBER
public static final int VISUALIZATION_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
DRILL_DOWN_CONFIG_FIELD_NUMBER
public static final int DRILL_DOWN_CONFIG_FIELD_NUMBER- See Also:
-
TOKENS_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER- See Also:
-
-
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
-
getName
Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceDashboardChartOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Name of the dashboardChart.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceDashboardChartOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. Display name/Title of the dashboardChart visible to users.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDashboardChartOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the dashboardChart.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for description.
-
getNativeDashboard
Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNativeDashboardin interfaceDashboardChartOrBuilder- Returns:
- The nativeDashboard.
-
getNativeDashboardBytes
public com.google.protobuf.ByteString getNativeDashboardBytes()Output only. NativeDashboard this chart belongs to.
string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNativeDashboardBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for nativeDashboard.
-
getTileTypeValue
public int getTileTypeValue()Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTileTypeValuein interfaceDashboardChartOrBuilder- Returns:
- The enum numeric value on the wire for tileType.
-
getTileType
Optional. Type of tile i.e., visualization, button or text.
.google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTileTypein interfaceDashboardChartOrBuilder- Returns:
- The tileType.
-
hasChartDatasource
public boolean hasChartDatasource()Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasChartDatasourcein interfaceDashboardChartOrBuilder- Returns:
- Whether the chartDatasource field is set.
-
getChartDatasource
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getChartDatasourcein interfaceDashboardChartOrBuilder- Returns:
- The chartDatasource.
-
getChartDatasourceOrBuilder
Optional. Query and datasource used in the chart. Should be empty for Button Tiles.
.google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getChartDatasourceOrBuilderin interfaceDashboardChartOrBuilder
-
hasVisualization
public boolean hasVisualization()Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasVisualizationin interfaceDashboardChartOrBuilder- Returns:
- Whether the visualization field is set.
-
getVisualization
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVisualizationin interfaceDashboardChartOrBuilder- Returns:
- The visualization.
-
getVisualizationOrBuilder
Required. Depending on tile_type one of below fields will be required.
.google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVisualizationOrBuilderin interfaceDashboardChartOrBuilder
-
getEtag
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceDashboardChartOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceDashboardChartOrBuilder- Returns:
- The bytes for etag.
-
hasDrillDownConfig
public boolean hasDrillDownConfig()Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDrillDownConfigin interfaceDashboardChartOrBuilder- Returns:
- Whether the drillDownConfig field is set.
-
getDrillDownConfig
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDrillDownConfigin interfaceDashboardChartOrBuilder- Returns:
- The drillDownConfig.
-
getDrillDownConfigOrBuilder
Optional. Drill down configuration.
.google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDrillDownConfigOrBuilderin interfaceDashboardChartOrBuilder
-
getTokensList
public com.google.protobuf.ProtocolStringList getTokensList()Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensListin interfaceDashboardChartOrBuilder- Returns:
- A list containing the tokens.
-
getTokensCount
public int getTokensCount()Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensCountin interfaceDashboardChartOrBuilder- Returns:
- The count of tokens.
-
getTokens
Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensin interfaceDashboardChartOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tokens at the given index.
-
getTokensBytes
public com.google.protobuf.ByteString getTokensBytes(int index) Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10.
repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTokensBytesin interfaceDashboardChartOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tokens at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DashboardChart parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardChart parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardChart parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardChart parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardChart parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardChart parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DashboardChart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DashboardChart parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DashboardChart parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DashboardChart parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DashboardChart.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-