Class ErrorReportingPanel.Builder (2.57.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
Type Description
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
Name Description
values Iterable<String>

The projectNames to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The services to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The versions to add.

Returns
Type Description
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
Name Description
value String

The projectNames to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the projectNames to add.

Returns
Type Description
ErrorReportingPanel.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorReportingPanel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The services to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the services to add.

Returns
Type Description
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
Name Description
value String

The versions to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the versions to add.

Returns
Type Description
ErrorReportingPanel.Builder

This builder for chaining.

build()

public ErrorReportingPanel build()
Returns
Type Description
ErrorReportingPanel

buildPartial()

public ErrorReportingPanel buildPartial()
Returns
Type Description
ErrorReportingPanel

clear()

public ErrorReportingPanel.Builder clear()
Returns
Type Description
ErrorReportingPanel.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ErrorReportingPanel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ErrorReportingPanel.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorReportingPanel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ErrorReportingPanel.Builder

This builder for chaining.

clone()

public ErrorReportingPanel.Builder clone()
Returns
Type Description
ErrorReportingPanel.Builder
Overrides

getDefaultInstanceForType()

public ErrorReportingPanel getDefaultInstanceForType()
Returns
Type Description
ErrorReportingPanel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the versions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorReportingPanel other)

public ErrorReportingPanel.Builder mergeFrom(ErrorReportingPanel other)
Parameter
Name Description
other ErrorReportingPanel
Returns
Type Description
ErrorReportingPanel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorReportingPanel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorReportingPanel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ErrorReportingPanel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ErrorReportingPanel.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorReportingPanel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorReportingPanel.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorReportingPanel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The projectNames to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The services to set.

Returns
Type Description
ErrorReportingPanel.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorReportingPanel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The versions to set.

Returns
Type Description
ErrorReportingPanel.Builder

This builder for chaining.