# Interface GetGroupRequestOrBuilder (0.214.0-beta)

0.214.0-beta (latest) 0.212.0-beta 0.209.0-beta 0.208.0-beta 0.206.0-beta 0.204.0-beta 0.203.0-beta 0.202.0-beta 0.201.0-beta 0.199.0-beta 0.197.0-beta 0.196.0-beta 0.195.0-beta 0.194.0-beta 0.193.0-beta 0.191.0-beta 0.189.0-beta 0.188.0-beta 0.185.0-beta 0.184.0-beta 0.183.0-beta 0.181.0-beta 0.180.0-beta 0.179.0-beta 0.178.0-beta 0.177.0-beta 0.176.0-beta 0.175.0-beta 0.174.0-beta 0.173.0-beta 0.172.0-beta 0.170.0-beta 0.169.0-beta 0.168.0-beta 0.167.0-beta 0.166.0-beta 0.165.0-beta 0.164.0-beta 0.163.0-beta 0.162.0-beta 0.161.0-beta 0.160.0-beta 0.158.0-beta 0.157.0-beta 0.156.0-beta 0.155.0-beta 0.154.0-beta 0.153.0-beta 0.152.0-beta 0.151.0-beta 0.150.0-beta 0.149.0-beta 0.148.0-beta 0.145.0-beta 0.144.0-beta 0.143.0-beta 0.142.0-beta 0.141.0-beta 0.140.0-beta 0.139.0-beta 0.138.0-beta 0.137.0-beta 0.136.0-beta 0.135.0-beta 0.134.0-beta 0.133.0-beta 0.132.0-beta 0.130.0-beta 0.129.0-beta 0.128.0-beta 0.127.0-beta 0.126.0-beta 0.125.0-beta 0.124.15-beta 0.123.4-beta 0.122.23-beta

    public interface GetGroupRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getGroupName()

    public abstract String getGroupName()

Required. The group resource name. Written as either
`projects/{projectID}/groups/{group_id}` or
`projects/{projectID}/locations/{location}/groups/{group_id}`. Call
\[groupStats.list\]
\[google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListGroupStats\]
to return a list of groups belonging to this project.

Examples: `projects/my-project-123/groups/my-group`,
`projects/my-project-123/locations/global/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](https://cloud.google.com/terms/cloud-privacy-notice).

For a list of supported locations, see [Supported
Regions](https://cloud.google.com/logging/docs/region-support). `global` is
the default when unspecified.

`
string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The groupName. |

### getGroupNameBytes()

    public abstract ByteString getGroupNameBytes()

Required. The group resource name. Written as either
`projects/{projectID}/groups/{group_id}` or
`projects/{projectID}/locations/{location}/groups/{group_id}`. Call
\[groupStats.list\]
\[google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListGroupStats\]
to return a list of groups belonging to this project.

Examples: `projects/my-project-123/groups/my-group`,
`projects/my-project-123/locations/global/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](https://cloud.google.com/terms/cloud-privacy-notice).

For a list of supported locations, see [Supported
Regions](https://cloud.google.com/logging/docs/region-support). `global` is
the default when unspecified.

`
string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for groupName. |