Class ErrorGroup.Builder (0.165.0-beta)

public static final class ErrorGroup.Builder extends GeneratedMessageV3.Builder<ErrorGroup.Builder> implements ErrorGroupOrBuilder

Description of a group of similar error events.

Protobuf type google.devtools.clouderrorreporting.v1beta1.ErrorGroup

Implements

ErrorGroupOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllTrackingIssues(Iterable<? extends TrackingIssue> values)

public ErrorGroup.Builder addAllTrackingIssues(Iterable<? extends TrackingIssue> values)

Associated tracking issues.

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

Parameter
Name Description
values Iterable<? extends com.google.devtools.clouderrorreporting.v1beta1.TrackingIssue>
Returns
Type Description
ErrorGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorGroup.Builder
Overrides

addTrackingIssues(TrackingIssue value)

public ErrorGroup.Builder addTrackingIssues(TrackingIssue value)

Associated tracking issues.

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

Parameter
Name Description
value TrackingIssue
Returns
Type Description
ErrorGroup.Builder

addTrackingIssues(TrackingIssue.Builder builderForValue)

public ErrorGroup.Builder addTrackingIssues(TrackingIssue.Builder builderForValue)

Associated tracking issues.

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

Parameter
Name Description
builderForValue TrackingIssue.Builder
Returns
Type Description
ErrorGroup.Builder

addTrackingIssues(int index, TrackingIssue value)

public ErrorGroup.Builder addTrackingIssues(int index, TrackingIssue value)

Associated tracking issues.

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

Parameters
Name Description
index int
value TrackingIssue
Returns
Type Description
ErrorGroup.Builder

addTrackingIssues(int index, TrackingIssue.Builder builderForValue)

public ErrorGroup.Builder addTrackingIssues(int index, TrackingIssue.Builder builderForValue)

Associated tracking issues.

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

Parameters
Name Description
index int
builderForValue TrackingIssue.Builder
Returns
Type Description
ErrorGroup.Builder

addTrackingIssuesBuilder()

public TrackingIssue.Builder addTrackingIssuesBuilder()

Associated tracking issues.

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

Returns
Type Description
TrackingIssue.Builder

addTrackingIssuesBuilder(int index)

public TrackingIssue.Builder addTrackingIssuesBuilder(int index)

Associated tracking issues.

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

Parameter
Name Description
index int
Returns
Type Description
TrackingIssue.Builder

build()

public ErrorGroup build()
Returns
Type Description
ErrorGroup

buildPartial()

public ErrorGroup buildPartial()
Returns
Type Description
ErrorGroup

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGroupId()

public ErrorGroup.Builder clearGroupId()

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
Type Description
ErrorGroup.Builder

This builder for chaining.

clearName()

public ErrorGroup.Builder clearName()

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

string name = 1;

Returns
Type Description
ErrorGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ErrorGroup.Builder
Overrides

clearResolutionStatus()

public ErrorGroup.Builder clearResolutionStatus()

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
ErrorGroup.Builder

This builder for chaining.

clearTrackingIssues()

public ErrorGroup.Builder clearTrackingIssues()

Associated tracking issues.

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

Returns
Type Description
ErrorGroup.Builder

clone()

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

getDefaultInstanceForType()

public ErrorGroup getDefaultInstanceForType()
Returns
Type Description
ErrorGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
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
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

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.

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

getTrackingIssuesBuilder(int index)

public TrackingIssue.Builder getTrackingIssuesBuilder(int index)

Associated tracking issues.

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

Parameter
Name Description
index int
Returns
Type Description
TrackingIssue.Builder

getTrackingIssuesBuilderList()

public List<TrackingIssue.Builder> getTrackingIssuesBuilderList()

Associated tracking issues.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTrackingIssues(int index)

public ErrorGroup.Builder removeTrackingIssues(int index)

Associated tracking issues.

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

Parameter
Name Description
index int
Returns
Type Description
ErrorGroup.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorGroup.Builder
Overrides

setGroupId(String value)

public ErrorGroup.Builder setGroupId(String value)

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;

Parameter
Name Description
value String

The groupId to set.

Returns
Type Description
ErrorGroup.Builder

This builder for chaining.

setGroupIdBytes(ByteString value)

public ErrorGroup.Builder setGroupIdBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for groupId to set.

Returns
Type Description
ErrorGroup.Builder

This builder for chaining.

setName(String value)

public ErrorGroup.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ErrorGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ErrorGroup.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ErrorGroup.Builder

This builder for chaining.

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

public ErrorGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ErrorGroup.Builder
Overrides

setResolutionStatus(ResolutionStatus value)

public ErrorGroup.Builder setResolutionStatus(ResolutionStatus value)

Error group's resolution status. An unspecified resolution status will be interpreted as OPEN

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

Parameter
Name Description
value ResolutionStatus

The resolutionStatus to set.

Returns
Type Description
ErrorGroup.Builder

This builder for chaining.

setResolutionStatusValue(int value)

public ErrorGroup.Builder setResolutionStatusValue(int value)

Error group's resolution status. An unspecified resolution status will be interpreted as OPEN

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

Parameter
Name Description
value int

The enum numeric value on the wire for resolutionStatus to set.

Returns
Type Description
ErrorGroup.Builder

This builder for chaining.

setTrackingIssues(int index, TrackingIssue value)

public ErrorGroup.Builder setTrackingIssues(int index, TrackingIssue value)

Associated tracking issues.

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

Parameters
Name Description
index int
value TrackingIssue
Returns
Type Description
ErrorGroup.Builder

setTrackingIssues(int index, TrackingIssue.Builder builderForValue)

public ErrorGroup.Builder setTrackingIssues(int index, TrackingIssue.Builder builderForValue)

Associated tracking issues.

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

Parameters
Name Description
index int
builderForValue TrackingIssue.Builder
Returns
Type Description
ErrorGroup.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorGroup.Builder
Overrides