Class ErrorReportingPanel.Builder (2.37.0)

public static final class ErrorReportingPanel.Builder extends GeneratedMessageV3.Builder<ErrorReportingPanel.Builder> implements ErrorReportingPanelOrBuilder

A widget that displays a list of error groups.

Protobuf type google.monitoring.dashboard.v1.ErrorReportingPanel

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllProjectNames(Iterable<String> values)

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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Parameter
NameDescription
valuesIterable<String>

The projectNames to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addAllServices(Iterable<String> values)

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;

Parameter
NameDescription
valuesIterable<String>

The services to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addAllVersions(Iterable<String> values)

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;

Parameter
NameDescription
valuesIterable<String>

The versions to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addProjectNames(String value)

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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Parameter
NameDescription
valueString

The projectNames to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addProjectNamesBytes(ByteString value)

public ErrorReportingPanel.Builder addProjectNamesBytes(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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Parameter
NameDescription
valueByteString

The bytes of the projectNames to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorReportingPanel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

addServices(String value)

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;

Parameter
NameDescription
valueString

The services to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addServicesBytes(ByteString value)

public ErrorReportingPanel.Builder addServicesBytes(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;

Parameter
NameDescription
valueByteString

The bytes of the services to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addVersions(String value)

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;

Parameter
NameDescription
valueString

The versions to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

addVersionsBytes(ByteString value)

public ErrorReportingPanel.Builder addVersionsBytes(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;

Parameter
NameDescription
valueByteString

The bytes of the versions to add.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

build()

public ErrorReportingPanel build()
Returns
TypeDescription
ErrorReportingPanel

buildPartial()

public ErrorReportingPanel buildPartial()
Returns
TypeDescription
ErrorReportingPanel

clear()

public ErrorReportingPanel.Builder clear()
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ErrorReportingPanel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorReportingPanel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Returns
TypeDescription
ErrorReportingPanel.Builder

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
TypeDescription
ErrorReportingPanel.Builder

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
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

clone()

public ErrorReportingPanel.Builder clone()
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

getDefaultInstanceForType()

public ErrorReportingPanel getDefaultInstanceForType()
Returns
TypeDescription
ErrorReportingPanel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProjectNames(int index)

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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The projectNames at the given index.

getProjectNamesBytes(int index)

public 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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the projectNames at the given index.

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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Returns
TypeDescription
int

The count of projectNames.

getProjectNamesList()

public 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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the projectNames.

getServices(int index)

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The services at the given index.

getServicesBytes(int index)

public 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the services at the given index.

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;

Returns
TypeDescription
int

The count of services.

getServicesList()

public 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;

Returns
TypeDescription
ProtocolStringList

A list containing the services.

getVersions(int index)

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The versions at the given index.

getVersionsBytes(int index)

public 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the versions at the given index.

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;

Returns
TypeDescription
int

The count of versions.

getVersionsList()

public 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;

Returns
TypeDescription
ProtocolStringList

A list containing the versions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ErrorReportingPanel other)

public ErrorReportingPanel.Builder mergeFrom(ErrorReportingPanel other)
Parameter
NameDescription
otherErrorReportingPanel
Returns
TypeDescription
ErrorReportingPanel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorReportingPanel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ErrorReportingPanel.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorReportingPanel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorReportingPanel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

setProjectNames(int index, String value)

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.

Examples: projects/my-project-123, projects/5551234.

repeated string project_names = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The projectNames to set.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ErrorReportingPanel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

setServices(int index, String value)

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
NameDescription
indexint

The index to set the value at.

valueString

The services to set.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorReportingPanel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorReportingPanel.Builder
Overrides

setVersions(int index, String value)

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
NameDescription
indexint

The index to set the value at.

valueString

The versions to set.

Returns
TypeDescription
ErrorReportingPanel.Builder

This builder for chaining.