Class Dashboard
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.dashboard.v1.Dashboard
- All Implemented Interfaces:
DashboardOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Dashboard
extends com.google.protobuf.GeneratedMessage
implements DashboardOrBuilder
A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.Protobuf type
google.monitoring.dashboard.v1.Dashboard- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Google Stackdriver dashboard.static enumNested 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 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 TypeMethodDescriptionbooleancontainsLabels(String key) Labels applied to the dashboardbooleanThe content is divided into equally spaced columns and the widgets are arranged vertically.The content is divided into equally spaced columns and the widgets are arranged vertically.getDashboardFilters(int index) Filters to reduce the amount of data charted based on the filter criteria.intFilters to reduce the amount of data charted based on the filter criteria.Filters to reduce the amount of data charted based on the filter criteria.getDashboardFiltersOrBuilder(int index) Filters to reduce the amount of data charted based on the filter criteria.List<? extends DashboardFilterOrBuilder>Filters to reduce the amount of data charted based on the filter criteria.static Dashboardstatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getEtag()`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other.com.google.protobuf.ByteString`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other.Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.Deprecated.intLabels applied to the dashboardLabels applied to the dashboardgetLabelsOrDefault(String key, String defaultValue) Labels applied to the dashboardgetLabelsOrThrow(String key) Labels applied to the dashboardThe content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Dashboard>The content is divided into equally spaced rows and the widgets are arranged horizontally.The content is divided into equally spaced rows and the widgets are arranged horizontally.intbooleanThe content is divided into equally spaced columns and the widgets are arranged vertically.booleanContent is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.inthashCode()booleanThe content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.booleanThe content is divided into equally spaced rows and the widgets are arranged horizontally.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Dashboard.Builderstatic Dashboard.BuildernewBuilder(Dashboard prototype) protected Dashboard.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DashboardparseDelimitedFrom(InputStream input) static DashboardparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardparseFrom(byte[] data) static DashboardparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardparseFrom(com.google.protobuf.ByteString data) static DashboardparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardparseFrom(com.google.protobuf.CodedInputStream input) static DashboardparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardparseFrom(InputStream input) static DashboardparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardparseFrom(ByteBuffer data) static DashboardparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Dashboard>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, 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:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
GRID_LAYOUT_FIELD_NUMBER
public static final int GRID_LAYOUT_FIELD_NUMBER- See Also:
-
MOSAIC_LAYOUT_FIELD_NUMBER
public static final int MOSAIC_LAYOUT_FIELD_NUMBER- See Also:
-
ROW_LAYOUT_FIELD_NUMBER
public static final int ROW_LAYOUT_FIELD_NUMBER- See Also:
-
COLUMN_LAYOUT_FIELD_NUMBER
public static final int COLUMN_LAYOUT_FIELD_NUMBER- See Also:
-
DASHBOARD_FILTERS_FIELD_NUMBER
public static final int DASHBOARD_FILTERS_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getLayoutCase
- Specified by:
getLayoutCasein interfaceDashboardOrBuilder
-
getName
Identifier. The resource name of the dashboard.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceDashboardOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the dashboard.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceDashboardOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Required. The mutable, human-readable name.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceDashboardOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The mutable, human-readable name.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceDashboardOrBuilder- Returns:
- The bytes for displayName.
-
getEtag
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An `etag` is returned in the response to `GetDashboard`, and users are expected to put that etag in the request to `UpdateDashboard` to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation.
string etag = 4;- Specified by:
getEtagin interfaceDashboardOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An `etag` is returned in the response to `GetDashboard`, and users are expected to put that etag in the request to `UpdateDashboard` to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation.
string etag = 4;- Specified by:
getEtagBytesin interfaceDashboardOrBuilder- Returns:
- The bytes for etag.
-
hasGridLayout
public boolean hasGridLayout()Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.
.google.monitoring.dashboard.v1.GridLayout grid_layout = 5;- Specified by:
hasGridLayoutin interfaceDashboardOrBuilder- Returns:
- Whether the gridLayout field is set.
-
getGridLayout
Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.
.google.monitoring.dashboard.v1.GridLayout grid_layout = 5;- Specified by:
getGridLayoutin interfaceDashboardOrBuilder- Returns:
- The gridLayout.
-
getGridLayoutOrBuilder
Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.
.google.monitoring.dashboard.v1.GridLayout grid_layout = 5;- Specified by:
getGridLayoutOrBuilderin interfaceDashboardOrBuilder
-
hasMosaicLayout
public boolean hasMosaicLayout()The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.
.google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;- Specified by:
hasMosaicLayoutin interfaceDashboardOrBuilder- Returns:
- Whether the mosaicLayout field is set.
-
getMosaicLayout
The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.
.google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;- Specified by:
getMosaicLayoutin interfaceDashboardOrBuilder- Returns:
- The mosaicLayout.
-
getMosaicLayoutOrBuilder
The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.
.google.monitoring.dashboard.v1.MosaicLayout mosaic_layout = 6;- Specified by:
getMosaicLayoutOrBuilderin interfaceDashboardOrBuilder
-
hasRowLayout
public boolean hasRowLayout()The content is divided into equally spaced rows and the widgets are arranged horizontally.
.google.monitoring.dashboard.v1.RowLayout row_layout = 8;- Specified by:
hasRowLayoutin interfaceDashboardOrBuilder- Returns:
- Whether the rowLayout field is set.
-
getRowLayout
The content is divided into equally spaced rows and the widgets are arranged horizontally.
.google.monitoring.dashboard.v1.RowLayout row_layout = 8;- Specified by:
getRowLayoutin interfaceDashboardOrBuilder- Returns:
- The rowLayout.
-
getRowLayoutOrBuilder
The content is divided into equally spaced rows and the widgets are arranged horizontally.
.google.monitoring.dashboard.v1.RowLayout row_layout = 8;- Specified by:
getRowLayoutOrBuilderin interfaceDashboardOrBuilder
-
hasColumnLayout
public boolean hasColumnLayout()The content is divided into equally spaced columns and the widgets are arranged vertically.
.google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;- Specified by:
hasColumnLayoutin interfaceDashboardOrBuilder- Returns:
- Whether the columnLayout field is set.
-
getColumnLayout
The content is divided into equally spaced columns and the widgets are arranged vertically.
.google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;- Specified by:
getColumnLayoutin interfaceDashboardOrBuilder- Returns:
- The columnLayout.
-
getColumnLayoutOrBuilder
The content is divided into equally spaced columns and the widgets are arranged vertically.
.google.monitoring.dashboard.v1.ColumnLayout column_layout = 9;- Specified by:
getColumnLayoutOrBuilderin interfaceDashboardOrBuilder
-
getDashboardFiltersList
Filters to reduce the amount of data charted based on the filter criteria.
repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;- Specified by:
getDashboardFiltersListin interfaceDashboardOrBuilder
-
getDashboardFiltersOrBuilderList
Filters to reduce the amount of data charted based on the filter criteria.
repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;- Specified by:
getDashboardFiltersOrBuilderListin interfaceDashboardOrBuilder
-
getDashboardFiltersCount
public int getDashboardFiltersCount()Filters to reduce the amount of data charted based on the filter criteria.
repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;- Specified by:
getDashboardFiltersCountin interfaceDashboardOrBuilder
-
getDashboardFilters
Filters to reduce the amount of data charted based on the filter criteria.
repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;- Specified by:
getDashboardFiltersin interfaceDashboardOrBuilder
-
getDashboardFiltersOrBuilder
Filters to reduce the amount of data charted based on the filter criteria.
repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;- Specified by:
getDashboardFiltersOrBuilderin interfaceDashboardOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:DashboardOrBuilderLabels applied to the dashboard
map<string, string> labels = 12;- Specified by:
getLabelsCountin interfaceDashboardOrBuilder
-
containsLabels
Labels applied to the dashboard
map<string, string> labels = 12;- Specified by:
containsLabelsin interfaceDashboardOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDashboardOrBuilder
-
getLabelsMap
Labels applied to the dashboard
map<string, string> labels = 12;- Specified by:
getLabelsMapin interfaceDashboardOrBuilder
-
getLabelsOrDefault
Labels applied to the dashboard
map<string, string> labels = 12;- Specified by:
getLabelsOrDefaultin interfaceDashboardOrBuilder
-
getLabelsOrThrow
Labels applied to the dashboard
map<string, string> labels = 12;- Specified by:
getLabelsOrThrowin interfaceDashboardOrBuilder
-
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 Dashboard parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dashboard parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dashboard parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dashboard parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dashboard parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dashboard parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Dashboard parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Dashboard parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Dashboard 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 Dashboard.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
-