@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.workstations.v1beta.StopWorkstationRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.workstations.v1beta.StopWorkstationRequest other =
        (com.google.cloud.workstations.v1beta.StopWorkstationRequest) obj;

    if (!getName().equals(other.getName())) return false;
    if (getValidateOnly() != other.getValidateOnly()) return false;
    if (!getEtag().equals(other.getEtag())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. If set, the request will be rejected if the latest version of the
workstation on the server does not have this ETag.
</pre>

<code>string etag = 3 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The bytes for etag.
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/StopWorkstationRequest.java