Class ErrorGroup (0.176.0-beta)

public final class ErrorGroup extends GeneratedMessageV3 implements ErrorGroupOrBuilder

Description of a group of similar error events.

Protobuf type google.devtools.clouderrorreporting.v1beta1.ErrorGroup

Implements

ErrorGroupOrBuilder

Static Fields

GROUP_ID_FIELD_NUMBER

public static final int GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOLUTION_STATUS_FIELD_NUMBER

public static final int RESOLUTION_STATUS_FIELD_NUMBER
Field Value
Type Description
int

TRACKING_ISSUES_FIELD_NUMBER

public static final int TRACKING_ISSUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ErrorGroup getDefaultInstance()
Returns
Type Description
ErrorGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ErrorGroup.Builder newBuilder()
Returns
Type Description
ErrorGroup.Builder

newBuilder(ErrorGroup prototype)

public static ErrorGroup.Builder newBuilder(ErrorGroup prototype)
Parameter
Name Description
prototype ErrorGroup
Returns
Type Description
ErrorGroup.Builder

parseDelimitedFrom(InputStream input)

public static ErrorGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ErrorGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ErrorGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ErrorGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ErrorGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ErrorGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ErrorGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ErrorGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ErrorGroup> parser()
Returns
Type Description
Parser<ErrorGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ErrorGroup getDefaultInstanceForType()
Returns
Type Description
ErrorGroup

getGroupId()

public String getGroupId()

An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated.

In the group resource name, the group_id is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice.

string group_id = 2;

Returns
Type Description
String

The groupId.

getGroupIdBytes()

public ByteString getGroupIdBytes()

An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated.

In the group resource name, the group_id is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice.

string group_id = 2;

Returns
Type Description
ByteString

The bytes for groupId.

getName()

public String getName()

The group resource name. Written as projects/{projectID}/groups/{group_id} or projects/{projectID}/locations/{location}/groups/{group_id}

Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/us-central1/groups/my-group

In the group resource name, the group_id is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The group resource name. Written as projects/{projectID}/groups/{group_id} or projects/{projectID}/locations/{location}/groups/{group_id}

Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/us-central1/groups/my-group

In the group resource name, the group_id is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<ErrorGroup> getParserForType()
Returns
Type Description
Parser<ErrorGroup>
Overrides

getResolutionStatus()

public ResolutionStatus getResolutionStatus()

Error group's resolution status.

An unspecified resolution status will be interpreted as OPEN

.google.devtools.clouderrorreporting.v1beta1.ResolutionStatus resolution_status = 5;

Returns
Type Description
ResolutionStatus

The resolutionStatus.

getResolutionStatusValue()

public int getResolutionStatusValue()

Error group's resolution status.

An unspecified resolution status will be interpreted as OPEN

.google.devtools.clouderrorreporting.v1beta1.ResolutionStatus resolution_status = 5;

Returns
Type Description
int

The enum numeric value on the wire for resolutionStatus.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTrackingIssues(int index)

public TrackingIssue getTrackingIssues(int index)

Associated tracking issues.

repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3;

Parameter
Name Description
index int
Returns
Type Description
TrackingIssue

getTrackingIssuesCount()

public int getTrackingIssuesCount()

Associated tracking issues.

repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3;

Returns
Type Description
int

getTrackingIssuesList()

public List<TrackingIssue> getTrackingIssuesList()

Associated tracking issues.

repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3;

Returns
Type Description
List<TrackingIssue>

getTrackingIssuesOrBuilder(int index)

public TrackingIssueOrBuilder getTrackingIssuesOrBuilder(int index)

Associated tracking issues.

repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3;

Parameter
Name Description
index int
Returns
Type Description
TrackingIssueOrBuilder

getTrackingIssuesOrBuilderList()

public List<? extends TrackingIssueOrBuilder> getTrackingIssuesOrBuilderList()

Associated tracking issues.

repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3;

Returns
Type Description
List<? extends com.google.devtools.clouderrorreporting.v1beta1.TrackingIssueOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ErrorGroup.Builder newBuilderForType()
Returns
Type Description
ErrorGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ErrorGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ErrorGroup.Builder toBuilder()
Returns
Type Description
ErrorGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException