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 TypeMethodDescriptionaddAllProjectNames(Iterable<String> values) The resource name of the Google Cloud Platform project.addAllServices(Iterable<String> values) An identifier of the service, such as the name of the executable, job, or Google App Engine service name.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.addProjectNames(String value) The resource name of the Google Cloud Platform project.addProjectNamesBytes(com.google.protobuf.ByteString value) The resource name of the Google Cloud Platform project.addServices(String value) 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.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.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.build()clear()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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetProjectNames(int index) The resource name of the Google Cloud Platform project.com.google.protobuf.ByteStringgetProjectNamesBytes(int index) The resource name of the Google Cloud Platform project.intThe resource name of the Google Cloud Platform project.com.google.protobuf.ProtocolStringListThe 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.ByteStringgetServicesBytes(int index) An identifier of the service, such as the name of the executable, job, or Google App Engine service name.intAn identifier of the service, such as the name of the executable, job, or Google App Engine service name.com.google.protobuf.ProtocolStringListAn 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.ByteStringgetVersionsBytes(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.intRepresents 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.ProtocolStringListRepresents 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.FieldAccessorTablefinal booleanmergeFrom(ErrorReportingPanel other) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ErrorReportingPanel.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorReportingPanel.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getProjectNamesListin interfaceErrorReportingPanelOrBuilder- 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:
getProjectNamesCountin interfaceErrorReportingPanelOrBuilder- Returns:
- The count of projectNames.
-
getProjectNames
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:
getProjectNamesin interfaceErrorReportingPanelOrBuilder- 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:
getProjectNamesBytesin interfaceErrorReportingPanelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the projectNames at the given index.
-
setProjectNames
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
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
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
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
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:
getServicesListin interfaceErrorReportingPanelOrBuilder- 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:
getServicesCountin interfaceErrorReportingPanelOrBuilder- Returns:
- The count of services.
-
getServices
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:
getServicesin interfaceErrorReportingPanelOrBuilder- 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:
getServicesBytesin interfaceErrorReportingPanelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the services at the given index.
-
setServices
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
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
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
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
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:
getVersionsListin interfaceErrorReportingPanelOrBuilder- 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:
getVersionsCountin interfaceErrorReportingPanelOrBuilder- Returns:
- The count of versions.
-
getVersions
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:
getVersionsin interfaceErrorReportingPanelOrBuilder- 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:
getVersionsBytesin interfaceErrorReportingPanelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the versions at the given index.
-
setVersions
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
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
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
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
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.
-