public com.google.protobuf.ByteString getGroupIdBytes() {
    java.lang.Object ref = groupId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      groupId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
public com . google . protobuf . ByteString getGroupIdBytes ( ) { java . lang . Object ref = groupId_ ; if ( ref instanceof java . lang . String ) { com . google . protobuf . ByteString b = com . google . protobuf . ByteString . copyFromUtf8 ( ( java . lang . String ) ref ) ; groupId_ = b ; return b ; } else { return ( com . google . protobuf . ByteString ) ref ; } }
<pre>
Optional.
The cluster id of the profile to associate with other profile(s) for the
same candidate.
A random UUID is assigned if [group_id][google.cloud.talent.v4beta1.Profile.group_id] isn't provided. To ensure
global uniqueness, customized [group_id][google.cloud.talent.v4beta1.Profile.group_id] isn't supported. If
[group_id][google.cloud.talent.v4beta1.Profile.group_id] is set, there must be at least one other profile with the
same system generated [group_id][google.cloud.talent.v4beta1.Profile.group_id], otherwise an error is thrown.
This is used to link multiple profiles to the same candidate. For example,
a client has a candidate with two profiles, where one was created recently
and the other one was created 5 years ago. These two profiles may be very
different. The clients can create the first profile and get a generated
[group_id][google.cloud.talent.v4beta1.Profile.group_id], and assign it when the second profile is created,
indicating these two profiles are referring to the same candidate.
</pre>

<code>string group_id = 5;</code>