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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    A Google Stackdriver dashboard.
    static enum 
     

    Nested 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Labels applied to the dashboard
    boolean
     
    The 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.
    Filters to reduce the amount of data charted based on the filter criteria.
    int
    Filters 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.
    Filters 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.
    static Dashboard
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Required.
    com.google.protobuf.ByteString
    Required.
    `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.
    int
    Labels applied to the dashboard
    Labels applied to the dashboard
    getLabelsOrDefault(String key, String defaultValue)
    Labels applied to the dashboard
    Labels applied to the dashboard
     
    The 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.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.
    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.
    int
     
    boolean
    The content is divided into equally spaced columns and the widgets are arranged vertically.
    boolean
    Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.
    int
     
    boolean
    The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.
    boolean
    The content is divided into equally spaced rows and the widgets are arranged horizontally.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    newBuilder(Dashboard prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Dashboard
     
    static Dashboard
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Dashboard
    parseFrom(byte[] data)
     
    static Dashboard
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Dashboard
    parseFrom(com.google.protobuf.ByteString data)
     
    static Dashboard
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Dashboard
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Dashboard
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Dashboard
     
    static Dashboard
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Dashboard
     
    static Dashboard
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Dashboard>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getLayoutCase

      public Dashboard.LayoutCase getLayoutCase()
      Specified by:
      getLayoutCase in interface DashboardOrBuilder
    • getName

      public String getName()
       Identifier. The resource name of the dashboard.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DashboardOrBuilder
      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:
      getNameBytes in interface DashboardOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String getDisplayName()
       Required. The mutable, human-readable name.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface DashboardOrBuilder
      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:
      getDisplayNameBytes in interface DashboardOrBuilder
      Returns:
      The bytes for displayName.
    • getEtag

      public String 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:
      getEtag in interface DashboardOrBuilder
      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:
      getEtagBytes in interface DashboardOrBuilder
      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:
      hasGridLayout in interface DashboardOrBuilder
      Returns:
      Whether the gridLayout field is set.
    • getGridLayout

      public GridLayout 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:
      getGridLayout in interface DashboardOrBuilder
      Returns:
      The gridLayout.
    • getGridLayoutOrBuilder

      public GridLayoutOrBuilder 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:
      getGridLayoutOrBuilder in interface DashboardOrBuilder
    • 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:
      hasMosaicLayout in interface DashboardOrBuilder
      Returns:
      Whether the mosaicLayout field is set.
    • getMosaicLayout

      public MosaicLayout 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:
      getMosaicLayout in interface DashboardOrBuilder
      Returns:
      The mosaicLayout.
    • getMosaicLayoutOrBuilder

      public MosaicLayoutOrBuilder 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:
      getMosaicLayoutOrBuilder in interface DashboardOrBuilder
    • 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:
      hasRowLayout in interface DashboardOrBuilder
      Returns:
      Whether the rowLayout field is set.
    • getRowLayout

      public RowLayout 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:
      getRowLayout in interface DashboardOrBuilder
      Returns:
      The rowLayout.
    • getRowLayoutOrBuilder

      public RowLayoutOrBuilder 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:
      getRowLayoutOrBuilder in interface DashboardOrBuilder
    • 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:
      hasColumnLayout in interface DashboardOrBuilder
      Returns:
      Whether the columnLayout field is set.
    • getColumnLayout

      public ColumnLayout 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:
      getColumnLayout in interface DashboardOrBuilder
      Returns:
      The columnLayout.
    • getColumnLayoutOrBuilder

      public ColumnLayoutOrBuilder 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:
      getColumnLayoutOrBuilder in interface DashboardOrBuilder
    • getDashboardFiltersList

      public List<DashboardFilter> 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:
      getDashboardFiltersList in interface DashboardOrBuilder
    • getDashboardFiltersOrBuilderList

      public List<? extends DashboardFilterOrBuilder> 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:
      getDashboardFiltersOrBuilderList in interface DashboardOrBuilder
    • 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:
      getDashboardFiltersCount in interface DashboardOrBuilder
    • getDashboardFilters

      public DashboardFilter getDashboardFilters(int index)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
      Specified by:
      getDashboardFilters in interface DashboardOrBuilder
    • getDashboardFiltersOrBuilder

      public DashboardFilterOrBuilder getDashboardFiltersOrBuilder(int index)
       Filters to reduce the amount of data charted based on the filter criteria.
       
      repeated .google.monitoring.dashboard.v1.DashboardFilter dashboard_filters = 11;
      Specified by:
      getDashboardFiltersOrBuilder in interface DashboardOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DashboardOrBuilder
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsCount in interface DashboardOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      containsLabels in interface DashboardOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DashboardOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsMap in interface DashboardOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsOrDefault in interface DashboardOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels applied to the dashboard
       
      map<string, string> labels = 12;
      Specified by:
      getLabelsOrThrow in interface DashboardOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Dashboard parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Dashboard parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Dashboard parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Dashboard parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Dashboard parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Dashboard parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Dashboard.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Dashboard.Builder newBuilder()
    • newBuilder

      public static Dashboard.Builder newBuilder(Dashboard prototype)
    • toBuilder

      public Dashboard.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Dashboard.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Dashboard getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Dashboard> parser()
    • getParserForType

      public com.google.protobuf.Parser<Dashboard> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Dashboard getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder