Class ErrorGroup (0.144.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESOLUTION_STATUS_FIELD_NUMBER

public static final int RESOLUTION_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

TRACKING_ISSUES_FIELD_NUMBER

public static final int TRACKING_ISSUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorGroup getDefaultInstance()
Returns
TypeDescription
ErrorGroup

getDescriptor()

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

newBuilder()

public static ErrorGroup.Builder newBuilder()
Returns
TypeDescription
ErrorGroup.Builder

newBuilder(ErrorGroup prototype)

public static ErrorGroup.Builder newBuilder(ErrorGroup prototype)
Parameter
NameDescription
prototypeErrorGroup
Returns
TypeDescription
ErrorGroup.Builder

parseDelimitedFrom(InputStream input)

public static ErrorGroup parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ErrorGroup parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorGroup parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorGroup parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ErrorGroup parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ErrorGroup parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ErrorGroup> parser()
Returns
TypeDescription
Parser<ErrorGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ErrorGroup getDefaultInstanceForType()
Returns
TypeDescription
ErrorGroup

getGroupId()

public String getGroupId()

Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID.

string group_id = 2;

Returns
TypeDescription
String

The groupId.

getGroupIdBytes()

public ByteString getGroupIdBytes()

Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID.

string group_id = 2;

Returns
TypeDescription
ByteString

The bytes for groupId.

getName()

public String getName()

The group resource name. Example: <code>projects/my-project-123/groups/CNSgkpnppqKCUw</code>

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The group resource name. Example: <code>projects/my-project-123/groups/CNSgkpnppqKCUw</code>

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ErrorGroup> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for resolutionStatus.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTrackingIssues(int index)

public TrackingIssue getTrackingIssues(int index)

Associated tracking issues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TrackingIssue

getTrackingIssuesCount()

public int getTrackingIssuesCount()

Associated tracking issues.

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

Returns
TypeDescription
int

getTrackingIssuesList()

public List<TrackingIssue> getTrackingIssuesList()

Associated tracking issues.

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

Returns
TypeDescription
List<TrackingIssue>

getTrackingIssuesOrBuilder(int index)

public TrackingIssueOrBuilder getTrackingIssuesOrBuilder(int index)

Associated tracking issues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TrackingIssueOrBuilder

getTrackingIssuesOrBuilderList()

public List<? extends TrackingIssueOrBuilder> getTrackingIssuesOrBuilderList()

Associated tracking issues.

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

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ErrorGroup.Builder newBuilderForType()
Returns
TypeDescription
ErrorGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ErrorGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ErrorGroup.Builder toBuilder()
Returns
TypeDescription
ErrorGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException