Class ErrorReportingPanel.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder>
com.google.monitoring.dashboard.v1.ErrorReportingPanel.Builder
All Implemented Interfaces:
ErrorReportingPanelOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ErrorReportingPanel

public static final class ErrorReportingPanel.Builder extends com.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder> implements ErrorReportingPanelOrBuilder
 A widget that displays a list of error groups.
 
Protobuf type google.monitoring.dashboard.v1.ErrorReportingPanel
  • Method Summary

    Modifier and Type
    Method
    Description
    The resource name of the Google Cloud Platform project.
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
    The resource name of the Google Cloud Platform project.
    addProjectNamesBytes(com.google.protobuf.ByteString value)
    The resource name of the Google Cloud Platform project.
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    addServicesBytes(com.google.protobuf.ByteString value)
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
    addVersionsBytes(com.google.protobuf.ByteString value)
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
     
     
     
    The resource name of the Google Cloud Platform project.
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getProjectNames(int index)
    The resource name of the Google Cloud Platform project.
    com.google.protobuf.ByteString
    The resource name of the Google Cloud Platform project.
    int
    The resource name of the Google Cloud Platform project.
    com.google.protobuf.ProtocolStringList
    The resource name of the Google Cloud Platform project.
    getServices(int index)
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    com.google.protobuf.ByteString
    getServicesBytes(int index)
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    int
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    com.google.protobuf.ProtocolStringList
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    getVersions(int index)
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
    com.google.protobuf.ByteString
    getVersionsBytes(int index)
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
    int
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
    com.google.protobuf.ProtocolStringList
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setProjectNames(int index, String value)
    The resource name of the Google Cloud Platform project.
    setServices(int index, String value)
    An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
    setVersions(int index, String value)
    Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.

    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder>
    • getDefaultInstanceForType

      public ErrorReportingPanel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ErrorReportingPanel build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ErrorReportingPanel buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ErrorReportingPanel.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ErrorReportingPanel.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder>
    • mergeFrom

      public ErrorReportingPanel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ErrorReportingPanel.Builder>
      Throws:
      IOException
    • getProjectNamesList

      public com.google.protobuf.ProtocolStringList getProjectNamesList()
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Specified by:
      getProjectNamesList in interface ErrorReportingPanelOrBuilder
      Returns:
      A list containing the projectNames.
    • getProjectNamesCount

      public int getProjectNamesCount()
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Specified by:
      getProjectNamesCount in interface ErrorReportingPanelOrBuilder
      Returns:
      The count of projectNames.
    • getProjectNames

      public String getProjectNames(int index)
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Specified by:
      getProjectNames in interface ErrorReportingPanelOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The projectNames at the given index.
    • getProjectNamesBytes

      public com.google.protobuf.ByteString getProjectNamesBytes(int index)
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Specified by:
      getProjectNamesBytes in interface ErrorReportingPanelOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the projectNames at the given index.
    • setProjectNames

      public ErrorReportingPanel.Builder setProjectNames(int index, String value)
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Parameters:
      index - The index to set the value at.
      value - The projectNames to set.
      Returns:
      This builder for chaining.
    • addProjectNames

      public ErrorReportingPanel.Builder addProjectNames(String value)
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Parameters:
      value - The projectNames to add.
      Returns:
      This builder for chaining.
    • addAllProjectNames

      public ErrorReportingPanel.Builder addAllProjectNames(Iterable<String> values)
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Parameters:
      values - The projectNames to add.
      Returns:
      This builder for chaining.
    • clearProjectNames

      public ErrorReportingPanel.Builder clearProjectNames()
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Returns:
      This builder for chaining.
    • addProjectNamesBytes

      public ErrorReportingPanel.Builder addProjectNamesBytes(com.google.protobuf.ByteString value)
       The resource name of the Google Cloud Platform project. Written
       as `projects/{projectID}` or `projects/{projectNumber}`, where
       `{projectID}` and `{projectNumber}` can be found in the
       [Google Cloud console](https://support.google.com/cloud/answer/6158840).
      
       Examples: `projects/my-project-123`, `projects/5551234`.
       
      repeated string project_names = 1;
      Parameters:
      value - The bytes of the projectNames to add.
      Returns:
      This builder for chaining.
    • getServicesList

      public com.google.protobuf.ProtocolStringList getServicesList()
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Specified by:
      getServicesList in interface ErrorReportingPanelOrBuilder
      Returns:
      A list containing the services.
    • getServicesCount

      public int getServicesCount()
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Specified by:
      getServicesCount in interface ErrorReportingPanelOrBuilder
      Returns:
      The count of services.
    • getServices

      public String getServices(int index)
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Specified by:
      getServices in interface ErrorReportingPanelOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The services at the given index.
    • getServicesBytes

      public com.google.protobuf.ByteString getServicesBytes(int index)
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Specified by:
      getServicesBytes in interface ErrorReportingPanelOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the services at the given index.
    • setServices

      public ErrorReportingPanel.Builder setServices(int index, String value)
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Parameters:
      index - The index to set the value at.
      value - The services to set.
      Returns:
      This builder for chaining.
    • addServices

      public ErrorReportingPanel.Builder addServices(String value)
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Parameters:
      value - The services to add.
      Returns:
      This builder for chaining.
    • addAllServices

      public ErrorReportingPanel.Builder addAllServices(Iterable<String> values)
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Parameters:
      values - The services to add.
      Returns:
      This builder for chaining.
    • clearServices

      public ErrorReportingPanel.Builder clearServices()
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Returns:
      This builder for chaining.
    • addServicesBytes

      public ErrorReportingPanel.Builder addServicesBytes(com.google.protobuf.ByteString value)
       An identifier of the service, such as the name of the
       executable, job, or Google App Engine service name. This field is expected
       to have a low number of values that are relatively stable over time, as
       opposed to `version`, which can be changed whenever new code is deployed.
      
       Contains the service name for error reports extracted from Google
       App Engine logs or `default` if the App Engine default service is used.
       
      repeated string services = 2;
      Parameters:
      value - The bytes of the services to add.
      Returns:
      This builder for chaining.
    • getVersionsList

      public com.google.protobuf.ProtocolStringList getVersionsList()
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Specified by:
      getVersionsList in interface ErrorReportingPanelOrBuilder
      Returns:
      A list containing the versions.
    • getVersionsCount

      public int getVersionsCount()
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Specified by:
      getVersionsCount in interface ErrorReportingPanelOrBuilder
      Returns:
      The count of versions.
    • getVersions

      public String getVersions(int index)
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Specified by:
      getVersions in interface ErrorReportingPanelOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The versions at the given index.
    • getVersionsBytes

      public com.google.protobuf.ByteString getVersionsBytes(int index)
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Specified by:
      getVersionsBytes in interface ErrorReportingPanelOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the versions at the given index.
    • setVersions

      public ErrorReportingPanel.Builder setVersions(int index, String value)
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Parameters:
      index - The index to set the value at.
      value - The versions to set.
      Returns:
      This builder for chaining.
    • addVersions

      public ErrorReportingPanel.Builder addVersions(String value)
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Parameters:
      value - The versions to add.
      Returns:
      This builder for chaining.
    • addAllVersions

      public ErrorReportingPanel.Builder addAllVersions(Iterable<String> values)
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Parameters:
      values - The versions to add.
      Returns:
      This builder for chaining.
    • clearVersions

      public ErrorReportingPanel.Builder clearVersions()
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Returns:
      This builder for chaining.
    • addVersionsBytes

      public ErrorReportingPanel.Builder addVersionsBytes(com.google.protobuf.ByteString value)
       Represents the source code version that the developer provided,
       which could represent a version label or a Git SHA-1 hash, for example.
       For App Engine standard environment, the version is set to the version of
       the app.
       
      repeated string versions = 3;
      Parameters:
      value - The bytes of the versions to add.
      Returns:
      This builder for chaining.