public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (WorkstationsGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor =
              result =
                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
                      .setSchemaDescriptor(new WorkstationsFileDescriptorSupplier())
                      .addMethod(getGetWorkstationClusterMethod())
                      .addMethod(getListWorkstationClustersMethod())
                      .addMethod(getCreateWorkstationClusterMethod())
                      .addMethod(getUpdateWorkstationClusterMethod())
                      .addMethod(getDeleteWorkstationClusterMethod())
                      .addMethod(getGetWorkstationConfigMethod())
                      .addMethod(getListWorkstationConfigsMethod())
                      .addMethod(getListUsableWorkstationConfigsMethod())
                      .addMethod(getCreateWorkstationConfigMethod())
                      .addMethod(getUpdateWorkstationConfigMethod())
                      .addMethod(getDeleteWorkstationConfigMethod())
                      .addMethod(getGetWorkstationMethod())
                      .addMethod(getListWorkstationsMethod())
                      .addMethod(getListUsableWorkstationsMethod())
                      .addMethod(getCreateWorkstationMethod())
                      .addMethod(getUpdateWorkstationMethod())
                      .addMethod(getDeleteWorkstationMethod())
                      .addMethod(getStartWorkstationMethod())
                      .addMethod(getStopWorkstationMethod())
                      .addMethod(getGenerateAccessTokenMethod())
                      .build();
        }
      }
    }
    return result;
  }
<pre>
Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
</pre>
java-workstations/grpc-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationsGrpc.java