Class ErrorGroup.Builder (0.150.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.devtools.clouderrorreporting.v1beta1.TrackingIssue>
Returns
TypeDescription
ErrorGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTrackingIssue
Returns
TypeDescription
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
NameDescription
builderForValueTrackingIssue.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTrackingIssue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrackingIssue.Builder
Returns
TypeDescription
ErrorGroup.Builder

addTrackingIssuesBuilder()

public TrackingIssue.Builder addTrackingIssuesBuilder()

Associated tracking issues.

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

Returns
TypeDescription
TrackingIssue.Builder

addTrackingIssuesBuilder(int index)

public TrackingIssue.Builder addTrackingIssuesBuilder(int index)

Associated tracking issues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TrackingIssue.Builder

build()

public ErrorGroup build()
Returns
TypeDescription
ErrorGroup

buildPartial()

public ErrorGroup buildPartial()
Returns
TypeDescription
ErrorGroup

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ErrorGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ErrorGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ErrorGroup.Builder

This builder for chaining.

clearTrackingIssues()

public ErrorGroup.Builder clearTrackingIssues()

Associated tracking issues.

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

Returns
TypeDescription
ErrorGroup.Builder

clone()

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

getDefaultInstanceForType()

public ErrorGroup getDefaultInstanceForType()
Returns
TypeDescription
ErrorGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

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

getTrackingIssuesBuilder(int index)

public TrackingIssue.Builder getTrackingIssuesBuilder(int index)

Associated tracking issues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TrackingIssue.Builder

getTrackingIssuesBuilderList()

public List<TrackingIssue.Builder> getTrackingIssuesBuilderList()

Associated tracking issues.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ErrorGroup other)

public ErrorGroup.Builder mergeFrom(ErrorGroup other)
Parameter
NameDescription
otherErrorGroup
Returns
TypeDescription
ErrorGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ErrorGroup.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The groupId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for groupId to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueResolutionStatus

The resolutionStatus to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
indexint
valueTrackingIssue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrackingIssue.Builder
Returns
TypeDescription
ErrorGroup.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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